%a | abbreviated weekday name |
%A | full weekday name |
%b | abbreviated month name |
%B | full month name |
%C | century number |
%d | the day of the month ( 00 .. 31 ) |
%e | the day of the month ( 0 .. 31 ) |
%H | hour ( 00 .. 23 ) |
%I | hour ( 01 .. 12 ) |
%j | day of the year ( 000 .. 366 ) |
%k | hour ( 0 .. 23 ) |
%l | hour ( 1 .. 12 ) |
%m | month ( 01 .. 12 ) |
%M | minute ( 00 .. 59 ) |
%n | a newline character |
%p | ``PM'' or ``AM'' |
%P | ``pm'' or ``am'' |
%S | second ( 00 .. 59 ) |
%s | number of seconds since Epoch (since Jan 01 1970 00:00:00 UTC) |
%t | a tab character |
%U, %W, %V | the week number |
%u | the day of the week ( 1 .. 7, 1 = MON ) |
%w | the day of the week ( 0 .. 6, 0 = SUN ) |
%y | year without the century ( 00 .. 99 ) |
%Y | year including the century ( ex. 1979 ) |
%% | a literal % character |
Examples
Date in application's locale format: <jscalendar:jscalendar name="order.date" id="order.date" /> Date with custom date format, including time: <jscalendar:jscalendar name="invoice.date" id="invoice.date" format="%d. %b %Y %H:%M" showstime="true" />@author Patrick Lightbody @author Rene Gielen @author Philipp Leusmann @version $Revision: 2541 $ @ww.tag name="datepicker" tld-body-content="JSP"tld-tag-class="org.fordprefect.struts2.views.jsp.ui.JSCalendarTag" description="Render datepicker" @since 2.2
|
|
|
|
|
|
|
|