Home Search

DriveWorks Pro 21
DateTimeLocal

Send Feedback

DateTimeLocal

This function converts a value into a date time representation. Changes from text values using standard current culture formatting.

Syntax

DateTimeLocal([Value])

Where:

Value is the Date/Time code for the date/time to be returned.

Examples

RuleMeaning
DateTimeLocal(40631+30) Will return 28/04/2011 (or 04/28/2011 for US type formatting).
DateTimeLocal(DWVariableDate+20,5)Will return 18/04/2011 12:00:00 (or 04/18/2011 12:00:00 for US type formatting) when DWVariableDate is 40631 on machines that use , as the decimal separator.