eo_DateToString Function

Converts a date value to a string value in a culture neutral manner.

Syntax
JavaScript
 function eo_DateToString(date)

Parameters

date
The date to be formatted.

Return Value

The string representation of the date.

Remarks

This function is the client side equivalent of Calendar.DateToString. Use this function and Calendar.StringToDate/eo_StringToDate to ensure the date value is not affected by different cultures.

See Also