XModPro

Display Time only with AM/PM

Jen Sharp Jen Sharp asked Apr 21, 2021
Active Apr 23 · Viewed 1479 times
<p>I have a datetime field that I want to display in a template using the AM/PM format. I have this: </p> <p>&lt;xmod:Format Type="Date" Value='[[starttime]]' Pattern="hh:mm a" /&gt; </p> <p>And also tried Pattern="hh:mm aa" but I can't seem to get the AM/PM to work. Is there a way to format this? </p> <p>Followup question, what if I wanted to format this in a Form? I can't use the xmod:Format tag... any other options?<br><br>Thanks!<br><br> </p>

2 Answers

Loading answers...