PbDateTimeFormat enumeration (Publisher)
A format for the date and time.
Name | Value | Description |
---|---|---|
pbDateEnglish | 8 | English |
pbDateISO | 4 | ISO |
pbDateLong | 2 | Long |
pbDateLongDay | 1 | Long Day |
pbDateMon_Yr | 10 | Month or Year |
pbDateMonthYr | 9 | Month and Year |
pbDateShort | 0 | Short |
pbDateShortAbb | 7 | Short Abb |
pbDateShortAlt | 3 | Short Alt |
pbDateShortMon | 5 | Short Month |
pbDateShortSlash | 6 | Short Slash |
pbDateTimeEastAsia1 | 17 | East Asia 1 |
pbDateTimeEastAsia2 | 18 | East Asia 2 |
pbDateTimeEastAsia3 | 19 | East Asia 3 |
pbDateTimeEastAsia4 | 20 | East Asia 4 |
pbDateTimeEastAsia5 | 21 | East Asia 5 |
pbTime24 | 15 | 24 hours |
pbTimeDatePM | 11 | Date/Time in A.M./P.M. format |
pbTimeDateSecPM | 12 | Date/Time/Second in A.M./P.M. format |
pbTimePM | 13 | Time in A.M./P.M. format |
pbTimeSec24 | 16 | Time in 24-hour format |
pbTimeSecPM | 14 | Time including seconds in A.M./P.M. format |
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.