DateConvert

Converts a date to the given locale.

Warning

This function only exists for compatibility reasons and should not be used. The timezone is not part of the datetime object. The function simply add/subtracts the time between the local time and the UTC from the date Object.

DateConvert( )

Returns:

This function does not take any arguments.

Examples

writeDump(DateConvert("Local2utc", "{ts '2006-01-26 02:00:00'}"));
writeDump(DateConvert("utc2Local",now()));

See also