Adds two YmdHms variables
TimeAdd(datetime, datetime difference)
(s) datetime a datetime using the format of YYYY:MM:DD:HH:MM:SS.
(s) datetime difference a datetime to be added to the original using the same format.
(s) datetime a new datetime
Use this function to add a specified datetime to an original datetime. TimeAdd uses normalized conversion so a valid datetime will be returned.
IntControl 41 can be used to control YmdHms format returned by time functions.
Now=TimeYmdHms( ) AddTime = "0000:00:00:157:00:00" ; 157 hours Later=TimeAdd(Now, AddTime) Message("157 hours from now will be", Later)
FileTimeGet, FileTimeGetEx, TimeDate, TimeYmdHms, TimeDiffSecs, TimeDelay, TimeWait, TimeSubtract, IntControl 41