When I click into a field and the calendar pops up that it doesn't pick up the date/time values.
Return to Recent Questions
Q:
When I click into a field and the calendar pops up that it doesn't
pick up the date/time values.
I can display time in 12 or 24 hour format - however for the selection it
only allows 24 hour format. My boss is yelling at me that it has to be in 12
hour selectable format.
A:
> when I click into a field and the calendar pops up that it doesn't
> pick up the date/time values.
But you haven't specified hour in the date format. Now you have
%L %d, %Y, %l: %M %p
month day year abbreviated month name minute either `am' or `pm'
So, you have: January 29, 2009, Jan:54 am
See more info about conversion specifiers here:
http://calendardatepicker.com/parameters.html
> 2) I can display time in 12 or 24 hour format - however for the selection it
> only allows 24 hour format. My boss is yelling at me that it has to be in 12
> hour selectable format.
Try to specify date format in the following way:
%L %d, %Y, %l, %I:%M %p
So, you'll have: January 14, 2009, Jan, 03:50 pm
Return to Recent Questions
Related:
|