The following table lists the codes used to define the date and time formats within the application. Although all codes are provided below, when setting the default date and time format for AudienceView, it is recommended that you only use numeric formats and avoid using abbreviations or full names of the day or month.
Desired |
Format Code |
Definition |
Day |
%d
%#d |
Day of month as decimal number (01 - 31).
%#d – Same as above with leading zeros removed (if any) |
Day |
%a |
Abbreviated weekday name
It is not recommended to use this format if your application supports multiple languages. |
Day |
%A |
Full weekday name
It is not recommended to use this format if your application supports multiple languages. |
Month |
%m
%#m |
Month as decimal number (01 - 12)
%#m – Same as above with leading zeros removed (if any) |
Month |
%b |
Abbreviated month name
It is not recommended to use this format if your application supports multiple languages. |
Month |
%B |
Full month name
It is not recommended to use this format if your application supports multiple languages. |
Year |
%y
%#y |
Year without century, as decimal number (00 - 99)
%#y – Same as above with leading zeros removed (if any) |
Year |
%Y
%#Y |
Year with century, as decimal number
%#Y – Same as above with leading zeros removed (if any) |
Hour |
%H
%#H |
Hour in 24-hour format (00 - 23)
%#H – Same as above with leading zeros removed (if any)
 |
Information
For example, %H:%M:%S will give you 04:00:00 while %#H:%M:%S gives you 4:00:00. |
|
Hour |
%I
%#I |
Hour in 12-hour format (01 - 12)
%#I – Same as above with leading zeros removed (if any)
 |
Information
For example, %I:%M:%S %p will give you 04:00:00 AM while %#I:%M:%S %p gives you 4:00:00 AM. |
|
Minute |
%M
%#M |
Minute as decimal number (00 - 59)
%#M – Same as above with leading zeros removed (if any) |
AM/PM |
%p |
Current locale's am/pm indicator for 12-hour clock
It is not recommended to use this format if your application supports multiple languages. |
Seconds |
%S
%#S |
Seconds as decimal number (00 - 59)
%#S – Same as above with leading zeros removed (if any) |