Code: Select all
Debug Hour(Date(0, 0, 0, 11, 3, 45)) ; Outputs '11'.
Is it possible to use dates where only the time portion (hms) are set?
Code: Select all
Debug Hour(Date(0, 0, 0, 11, 3, 45)) ; Outputs '11'.
Code: Select all
Procedure.l Time(Hour.l, Minute.l, Second.l)
ProcedureReturn Date(1970, 1, 1, Hour, Minute, Second)
EndProcedure
Code: Select all
time.l = Hours*3600 + Minutes*60 + Seconds