DATESYST |
datesyst is a variable that provides a reference date.
Date [S]datesyst
# display of current date in
the form DD Month YYYY
# example: 09 February 2000
Infbox num$(format$("D:DD",datesyst) + "
"
& + vireblc(format$("D:MMMMMMMMMM",datesyst),1)
& + " " + format$("D:YYYY",datesyst))
# Display of the 1st day of
the year, e.g.: 01/01/2000
Infbox num$(gdat$(1,1,year(datesyst)))
datesyst is an Adonix system variable automatically set to the current date when an Adonix application is started. It is then not reset by Adonix (even when the date is changed to midnight) but it may be reassigned by a routine.
The other option is to use the date$ function, that corresponds to the current date, and that is reset every 24 hours.
|
|