lang • date

Date

Result = Date ( Expression )

Return the date part of a date & time expression.

Example

Print Now; " -> "; Date(Now)
05/16/2002 15:10:59 -> 05/16/2002

Date (2)

Date = Date ( Year , Month , Day [ , Hours , Minutes , Seconds ] )

Make a local date from its components.

The date components are in local time. For example, if you call this function on a French localization, the internal UTC time will be two hours sooner.

Examples

Print Date(1972, 09, 06, 1, 5, 17)
09/06/1972 01:05:17
Print Date(1972, 09, 06, 1, 5, 17)
Print CFloat(Date(1972, 09, 06, 1, 5, 17))
06.09.1972 01:05:17
2473671,04533565

Date (3)

Today = Date ( )

Return the today date.

See also