WXforum.net
Weather Software => Cumulus => Topic started by: David9723 on February 12, 2015, 08:31:10 PM
-
What is the tag to get a 12 hour time? For example these two tags give the high and lows of the day but if one occurs after 1 pm it gives the 24 hour time.
<#TtempTL>
<#TtempTH>
-
You can add a format option to the tag to display the date/time however you like...
http://wiki.sandaysoft.com/a/Webtags#Time.2FDate_.27format.27_Parameter
-
You can add a format option to the tag to display the date/time however you like...
http://wiki.sandaysoft.com/a/Webtags#Time.2FDate_.27format.27_Parameter
Yes but how do i include that into this tag? <#TtempTH>
<#TtempTH format="h':'nn">
<#TtempTH format="h nn">
does not work.
-
But you haven't told it it use 12 hour format by including the am/pm or ampm string.
<#time format=h:nn am/pm>