Platform SDK: Exchange Server |
The TIMEFMT property specifies a format for printing the time. A separator string can also be defined to separate the time from any following text, such as appointment text. The format for this property is:
TIME {number}, {separator string}
The different time formats are specified by consecutive integers starting at 0. The integers specifying a time format are as follows.
Integer | Value |
---|---|
0 (default) | Standard (3:45 P.M. or 15:45 hrs)
This is the time format specified in the Windows Control Panel. |
1 | Standard No Trailer (3:45 or 15:45)
This format also uses the Windows Control Panel, but does not apply the trailers. |
2 | Modified Standard (Vanishing trailer)
In this format, the object keeps track of the times it has already printed. It prints a trailer only for the first A.M. and first P.M. appointments it prints in 12-hour mode, or for the first appointment only in 24-hour mode. For example, in a list of appointments, if you have appointments at 8 A.M., 9 A.M., 10 A.M., 11 A.M., 12 P.M. and 1 P.M., the times are printed as: 8 A.M., 9, 10, 11, 12 P.M., and 1. |
3 | Hour Only (3 or 15)
This format always prints the number associated with the hour (3:45 appears as 3). |
4 | Hour only when minutes != 0 ( 3:45 or 15:45)
This format prints the hour only when the minutes are zero, and the full time otherwise (3:45 appears as 3:45, but 4:00 appears as 4). |
Formats 3 and 4 are space savers. If necessary, you can limit the amount of space taken up by the time to leave more space for text.