As we know , dtlDate macro displays the field as a textbox along with a popup calendar for entering the date and time.
When we click on the date and time , the format in which it is selects is in the format DD/MM/YYYY HH:MM am/pm . How can we customize this so that the format is DD/MM/YYYY HH:MM (ie. 24 Hour Format ).
Also , since it is a property i guess the datatype cannot be changed . In that case , what are the other options to remove am/pm since we dont want to remove it everytime manually.
There us a 24-Hour Check box at the bottom of the Date Selector
When that checkbox is set, the time shows in 24 hour format. Is this what you are querying?
Hi Brian ,
We tried using this but once you set the time say 23:00 , the time that comes in the textbox is 11:00 pm . We want to display 23:00 as it is.
Have a look at the web.cfg file and look for 'DateFormat'. See if changing the format there helps?
Here , Even if we tick the 24 hour format , the time that is displayed in the textbox is in the format DD/MM/YYYY HH:MM am/pm . On saving , the error 'bad date or bad date format' comes and the ticket doesnt get saved . If we remove am/pm it works fine and the ticket gets saved without any error .
Please log a formal support case for further investigation as I suspect this to be bug.
as far as I know, the date format can be adjusted in the web.cfg file in bopcfg/www directory.
search for DateFormat and adjust accordingly. This will at least have influence on the format of displayed date values
Did you make changes to the web.cfg as by myself and Michael_Mueller ?