Is there any way to force the time to be shown as a 12 hour format instead of 24 hour?
Forums
Date - Time Picker
Hi arueder ,
Try changing the format to one that uses the 12 hour clock + am/pm
Bob
Try changing the format to one that uses the 12 hour clock + am/pm
Bob
Hi arueder ,
Try changing the format to one that uses the 12 hour clock + am/pm
Bob
How do you change the format? The only option I have is the "datetime box" element which doesn't have any settings to change the format from 24 to 12.
Sorry.....noob Joomla! user. :?
Hi arueder ,
Use the Custom DatePicker action from the Utilities group on the Actions tab and drag it to the OnLoad event box.
Bob
Use the Custom DatePicker action from the Utilities group on the Actions tab and drag it to the OnLoad event box.
Bob
I added it to the onload event box, but still shows up as 24 hour format. What am I missing?
I did view the help link where I found the settings to change to 12 hour format, which i did, but the datetime box in my form still reads as 24hr.
I did view the help link where I found the settings to change to 12 hour format, which i did, but the datetime box in my form still reads as 24hr.
Hi areuder,
As far as I can see you can't get the time picker itself to work in anything other than 24 hour clock time. You can get the result to display using am/pm with a format string of - for example 'g:i a'
Bob
As far as I can see you can't get the time picker itself to work in anything other than 24 hour clock time. You can get the result to display using am/pm with a format string of - for example 'g:i a'
Bob
I have the custom datetime picker set with the date format posted and date format shown settings of: m-d-Y g:i a
After I select a date and time this is what I get as a final result displayed in the box:
03-08-2011 17:55:13
When in fact it should read:
08-03-2011 5:55 pm
Edit: got it. I had the order of my "onload" events wrong. 😀 Thanks for all your efforts. it appears I still have a lot to learn. 🤣
After I select a date and time this is what I get as a final result displayed in the box:
03-08-2011 17:55:13
When in fact it should read:
08-03-2011 5:55 pm
Edit: got it. I had the order of my "onload" events wrong. 😀 Thanks for all your efforts. it appears I still have a lot to learn. 🤣
This topic is locked and no more replies can be posted.