How Can We Help?
< All Topics
Print

$Date

The current date.

Syntax

$date

Return Value

A number in date format (YYYYMMDD). Cannot be reset by an application program.

Description

The current date, as set in the operating system.

Example

From  the zim prompt:

out $date

This extracts the DATE from the TIMESTAMP and then prints the proper $DayName.

OUT $DayName($GetUTCDate($TimeSecs))

See Also

$adddays

$addmonths

$addweeks

$addyears

$day

$dayname

$month

$monthname

$Time

$TimeSecs

$weekday

$year

About Data Types

System Variables

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish