Hi,
http://crystaltricks.com/wordpress/?p=144
The ToText function, used with times,
lets you add an am or pm string to your times. You can even pass your
own am/pm strings if you don’t want to use the default AM and PM.
Here’s a look at how it works. (Where timefield= 4:15:00 p.m.)
|
Example
|
Result
|
|
ToText({timefield}, “HH:mm:ss tt”)
|
“16:15:00 PM” (default)
|
|
ToText({timefield}, “HH:mm:ss tt”, “morning”, “night”)
|
“16:15:00 night”
|
|
ToText({timefield}, “hh:mm:ss t”, “am”, “pm”)
|
“04:15:00 p”
|
For more information refer to the below link.
http://crystaltricks.com/wordpress/?paged=2
Hope it helps you.