MakeDate (open)
Returns a DateTime value from year, month and day values with time 00:00:00
Syntax
LOADLIB "wh::datetime.whlib";
DATETIME FUNCTION MakeDate(INTEGER year, INTEGER month, INTEGER day)
Parameters
INTEGER year
An integer, representing the year
INTEGER month
An integer, representing the month
INTEGER day
An integer, representing the day
Return value
DATETIME
A DateTime value representing 00:00:00 hours at date {@italic day}-{@italic month}-{@italic year}. The default datetime is returned if the specified values are out of range.
Examples
// returns a DateTime representing August 31st 1997
DATETIME theDate:= MakeDate (1974, 8, 31);