eo_StringToDate Function

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

Syntax
JavaScript
 function eo_StringToDate(s)

Parameters

s
A string value previously returned by Calendar.DateToString or eo_DateToString.

Return Value

The date represented by s.

Remarks

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

See Also