[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
APPENDIX C - time_convert() FORMATS
The following formats are supported by time_convert():
Type (id) Data Type Format Notes
--------- --------- ------ -----
1 char HH:MM AM 12-hour (h,m)
2 " HH:MM 24-hour (h,m)
3 " HH:MM:SS AM 12-hour (h,m,s)
4 " HH:MM:SS 24-hour (h,m,s)
5 " HH:MM:SS:CC AM 12-hour (h,m,s,u)
6 " HH:MM:SS:CC 24-hour (h,m,s,u)
7 struct time see dos.h
8 double 1/100 seconds
9 " seconds
10 " minutes
11 " hours
12 " days
13 char HHhMMm no leading zeros
14 " HHhMMmSSs no leading zeros
15 " HHhMMmSSsCCc no leading zeros
16 " 0HH:MM AM 12-hour (0h,m)
17 " 0HH:MM 24-hour (0h,m)
18 " 0HH:MM:SS AM 12-hour (0h,m,s)
19 " 0HH:MM:SS 24-hour (0h,m,s)
20 " 0HH:MM:SS:CC AM 12-hour (0h,m,s,u)
21 " 0HH:MM:SS:CC 24-hour (0h,m,s,u)
22 " 0HHhMMm all leading zeros
23 " 0HHhMMmSSs all leading zeros
24 " 0HHhMMmSSsCCc all leading zeros
The notation H:M:S:C stands for hours:minutes:seconds:centiseconds
(1/100 secs). The notation AM stands for AM or PM, as is
appropriate.
Unless otherwise specified, a time string contains leading zeros
for all values except the hour. The notation 0H stands for hours
containing leading zeros.
Refer to time_convert() for further specifications.
See Also:
time_convert()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson