Format Property

         Example         Applies To

Returns or sets the format for the automatically updated date and time. Applies only to HeaderFooter objects that represent a date and time (returned from the HeadersFooters collection by the DateAndTime property). Read/write Long.

Can be one of the following PpDateTimeFormat constants:

ppDateTimeddddMMMMddyyyy

ppDateTimedMMMMyyyy

ppDateTimedMMMyy

ppDateTimeFormatMixed

ppDateTimeHmm

ppDateTimehmmAMPM

ppDateTimeHmmss

ppDateTimehmmssAMPM

ppDateTimeMdyy

ppDateTimeMMddyyHmm

ppDateTimeMMddyyhmmAMPM

ppDateTimeMMMMdyyyy

ppDateTimeMMMMyy

ppDateTimeMMyy


Remarks

Make sure that the date and time are set to be updated automatically (not displayed as fixed text) by setting the UseFormat property to True.