Formats the date time to its equivalent short datetime string representation using the current culture settings.

Syntax

Smartsite SXML CopyCode image Copy Code
string locale.formatshortdatetime(datetime value)
string locale.formatshortdatetime(datetime value, string culture)

Parameters

Name Data Type Description
value DateTime The value.
culture String The culture.

Return Value

Data Type Description
String String

Expand image Example

SXML