Page 1 of 1

Show Only A and P in DateTime Format insteat of AM and PM

Posted: Mon Jul 07, 2008 5:43 am
by ngaheer
Hi,

I have set the format of datetime field to {Format("{0:HH:mm t}", CmfActions.cmf.cmfStartTime)} this shows me result as "11:40 AM" but i want to show the result as "11:40 A" not the AM. So can you guide me which property or API i use to set this criteria.

Thanks

Show Only A and P in DateTime Format insteat of AM and PM

Posted: Tue Jul 08, 2008 7:35 am
by Edward
Hello.

Please change the expression as follows:

Code: Select all

{Format("{0:HH:mm tt}", CmfActions.cmf.cmfStartTime)}
Please let us know if any help is required.

Thank you.