# Date

Result = Date ( Date/Time )

Returns a date without its time component.

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

Makes a date from its components.

Example

    PRINT Now; " -> "; Date(Now)

    05/16/2002 15:10:59 -> 05/16/2002

    PRINT Date(1972, 09, 06, 1, 5)

    09/06/1972 01:05:00

See also

Now, Time, WeekDay, Day, Month, Year, Hour, Minute, Second

Previous: Datatypes Next: Day