Difference between revisions of "Date and Time formats in Content Manager OnDemand"

Added CMOD Application Date and Time Specifiers table.
(Added CMOD Application Date and Time Specifiers table.)
Line 40: Line 40:


The range of available variables for Applications can be found in the online help - search the online help for the phrase "Date and Time Formats".
The range of available variables for Applications can be found in the online help - search the online help for the phrase "Date and Time Formats".
{| class="mw-collapsible wikitable" style="width: 800px;"
|+CMOD Application Date & Time Specifiers  
!Specifier!!Description!!Usage!!Example
|- style="text-align:center;"
|%Y||Numeric Year, with leading century||%m-%d-%Y||09-01-'''2020'''
|- style="text-align:center;"
|%y||Numeric Year, without leading century||%m-%d-%y||09-01-'''20'''
|- style="text-align:center;"
|%m||Numeric Month, with leading zero||%m-%d-%Y||'''09'''-01-2020
|- style="text-align:center;"
|%f||Numeric Month, without leading zero||%f-%d-%Y||'''9'''-01-2020
|- style="text-align:center;"
|%b||Text Month, abbreviated||%b-%d-%Y||'''Sep'''-01-2020
|- style="text-align:center;"
|%B||Text Month, complete||%B-%d-%Y||'''September'''-01-2020
|- style="text-align:center;"
|%d||Numeric Day, with leading zero||%m-%d-%Y||09-'''01'''-2020
|- style="text-align:center;"
|%e||Numeric Day, without leading zero||%m-%e-%Y||09-'''1'''-2020
|- style="text-align:center;"
|%H||Numeric Hour, 24-hour format||%H:%M:%S||'''12''':34:56
|- style="text-align:center;"
|%I||Numeric Hour, 12-hour format||%I:%M:%S %p||'''12''':34:56 PM
|- style="text-align:center;"
|%p||Ante Meridiem / Post-Meridiem||%I:%M:%S %p||12:34:56 '''PM'''
|- style="text-align:center;"
|%M||Numeric Minute||%H:%M:%S||12:'''34''':56
|- style="text-align:center;"
|%S||Numeric Second||%H:%M:%S||12:34:'''56'''
|-
|colspan=4 style="text-align:center;"| ''Delimiters can be a combination of slashes (/), dashes (-), colon (:), spaces( ) or none.  "%b %e, %y" matches '''Sep 5, 2020''' and %Y-%m-%d-%H%M%S matches '''2020-09-01-123456''' for September 1st, 2020 at 12:34:56.''
|}


=== Folder Date Formats ===
=== Folder Date Formats ===