Your Browser is not longer supported
Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...
{{viewport.spaceProperty.prod}}
ftime, ftime64 - Current time
&pagelevel(4)&pagelevel
Definition | #include <sys.timeb.h> int ftime(struct timeb *p); int ftime64(struct timeb64 *p); In the structure which points to p, ftime and ftime64 supply the current time (local time) as the number of seconds and milliseconds which have passed since the reference date (epoch). By default, the reference date is 1/1/1970 00:00:00. From 01/19/2038 03:14:08 ftime will issue the message CCM0014 and terminate the program. ftime64 will supply correct results up to 3/18/4317 02:44:48.
For portability reasons additional options have been included in the timeb and timeb64 structures. However, they are not supported in the BS2000 environment. |
Return val. | Always 0. |
Notes | As always in such cases, you must explicitly provide the memory space for the result structure! |
See also | time, time64, ctime, ctime64 |