Time()
Time()
Type: REGULAR FUNCTION
Purpose: Calculate the number of seconds elapsed since 00:00:00 1/1/70 and the time specified by the parameter.
This time convention is compatible with the Microsoft® C time functions. If no parameters are specified, use the current system time and date. You can also substitute NIL for any parameter in the second and third form to use the current system values for that parameter.
Now = Time() if no parameters
or
Then = Time(DateStr, TimeStr) if 2 parameters
or
Then = Time(Mon, Day, Yr, Hr, Min, Sec) if 6 parameters
DateStr |
STRING of the form “MON/DAY/YR” or NIL |
Year reported as number of years since 1900. |
|
TimeStr | STRING of the form “HR:MIN:SEC” or NIL |
|
|
Mon | INDEX (where 1 = January) or NIL | ||
Day | INDEX or NIL | ||
Yr | INDEX (where 0 = 1900) or NIL | ||
Hr | INDEX or NIL | ||
Min | INDEX or NIL | ||
Sec |
INDEX or NIL |
||
Then | INDEX | Number of seconds since 1/1/70 0:0:00 |
Comments are closed.