Date and time functions
Any numerical GenStat data structure can be used to store dates and times. These functions
allow the various components of a date and time to be calculated from a stored date-time value:
Day of month
Month
Year
Day of week
Day number in year (starting at a defined month)
Week number in year
Number of the period of a specified length within a month
Indicates whether date is in a leap year
Hours (on 24 hour clock) corresponding to a date-time value
Minutes past the hour corresponding to a date-time value
Seconds during the minute corresponding to a date-time
value
These functions calculate date and time values from calender and clock information:
Constructs a date value from day, month and year
Constructs time value from hours, minutes and seconds
These functions provide information about the amount of computing time used in the current
GenStat run, or the data and time currently recorded on the computer:
Currently used cpu time
Current date and time