Show the time using a custom format
Member of DateTime (PRIM_EVDT)
Data Type - String
The CustomTimeFormat property is used to format the time using the supplied formatting strings. Each portion of the custom definition is evaluated independently and then concatenated to produce the output.
Enum Value | Description |
---|---|
h | 12 hour clock with suppressed leading zero e.g. 9 |
hh | 12 hour clock e.g. 09 |
H | 24 hour clock with suppressed leading zero e.g. 9 |
HH | 24 hour clock e.g. 21 |
m | Minutes with suppressed leading zero e.g. 4 |
mm | Minutes e.g. 04 |
s | Seconds with suppressed leading zero e.g. 4 |
ss | Seconds e.g. 04 |
f | Milliseconds with suppressed leading zeros e.g. 4 |
ff | Milliseconds with suppressed leading zeros e.g. 04 |
fff | Milliseconds e.g. 004 |
u | Microseconds with suppressed leading zeros e.g. 4 |
uu | Microseconds with suppressed leading zeros e.g. 04 |
uuu | Microseconds e.g. 004 |
n | Nanoseconds with suppressed leading zeros e.g. 4 |
nn | Nanoseconds with suppressed leading zeros e.g. 04 |
nnn | Nanoseconds e.g. 004 |
t | A or P |
tt | AM or PM |
A format of "hh.mm.ss TT" would produce the output "05.03.09 PM""
Febuary 18 V14SP2