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

Syntax

Smartsite SXML CopyCode image Copy Code
string locale.formatshortdate(datetime value)
string locale.formatshortdate(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