This topic is locked
[SOLVED]

 Time Date Functions Change To 24 Hrs Format

4/16/2013 2:09:05 PM
ASPRunnerPro General questions
M
mitzi author

Hi, How can i change the display of my time from
11:00:00 AM or 08:00:00 PM to a 24 hrs format on all my pages in asprunner? especially on the list pages?

and get rid of these 00 seconds forever????<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=20887&image=1&table=forumtopics' class='bbc_emoticon' alt=':unsure:' />
for example instead of showing
11:00:00 AM -show 11:00

instead of showing
08:00:00 PM 20:00 ???
I amd getting nuts trying to figure it out
PS working with calendar template
Thanks

Sergey Kornilov admin 4/18/2013

I don't think it's possible to change the format of all fields at once. Needs to be done for each field separately.
You can use 'View as' type Custom and the following code:

strValue = FormatDateTime(strValue,4)
M
mitzi author 4/22/2013