Publisher review:Addtime.C - Add two times (hh:mm:ss) together, normalizing the result ADDTIME.C - Add a time period to a base time, normalizing the resultarguments: 1 - Base hours (0 -> 24)2 - Base minutes (0 -> 59)3 - Base seconds (0 -> 59)4 - Span hours5 - Span minutes6 - Span seconds7 - Address of returned hours (0 -> 23)9 - Address of returned minutes (0 -> 59)10 - Address of returned seconds (0 -> 59)11 - Address of number of days to add to resultreturns: 0 if no error, non-zero if base time range error
Notes: 1) Span values may be negative.2) Overflowing midnight will cause a positive number of days to be returned.3) Underflowing midnight will cause a negative number of days to be returned.
Addtime.C is a C/C++ script for Snippets scripts design by Ray Gardner.
It runs on following operating system: Windows / Linux / BSD / Solaris.
Operating system:Windows / Linux / BSD / Solaris