Page 1 of 1
tag showing 12 hour time
Posted: Mon 14 Nov 2011 9:08 pm
by n9mfk
Hi Steve,
I have a question I run cumulus or a 24 hour clock
my pc on 12 hour i noted <#TtempH> is showing 12 hour time
is it because the pc on 12 hour time ?
Re: tag showing 12 hour time
Posted: Mon 14 Nov 2011 9:26 pm
by steve
Yes; the default time format for that tag (and similar ones) is "t".
Re: tag showing 12 hour time
Posted: Mon 14 Nov 2011 10:00 pm
by n9mfk
Hi Steve,
is the only way to change that format the tags or 24 hour time on the pc?
beau
Re: tag showing 12 hour time
Posted: Tue 15 Nov 2011 3:56 am
by gemini06720
n9mfk wrote:is the only way to change that format the tags or 24 hour time on the pc?
It is probably the 'easiest' if not the only way to do it.
It is too bad that a standard time format (such as the
ISO 8601 date/time format) was not adopted in the early days of Cumulus ... it would make date/time conversion into other web page formats (such as PHP) so much easier ... rather than having to create/use many different functions to accomplish those conversions...

Re: tag showing 12 hour time
Posted: Tue 15 Nov 2011 8:03 am
by steve
n9mfk wrote:is the only way to change that format the tags or 24 hour time on the pc?
Use the format parameter on the web tags, that's why it's there. Is that not a workable solution for some reason?
Re: tag showing 12 hour time
Posted: Tue 15 Nov 2011 1:36 pm
by n9mfk
Hi Steve,
format worked great
i do have one question let say i went to format <#update> is there a way to only format the time and have the date part come out as it wood be with out formatting?
thanks
Beau
Re: tag showing 12 hour time
Posted: Tue 15 Nov 2011 4:14 pm
by mcrossley
I would guess at "ddddd" = Displays the date using the format given by the Windows Short Date format.
as Steve said the default time is "t" = Displays the time using the format given by the Windows Short Time format.
http://wiki.sandaysoft.com/a/Webtags#Ti ... _Parameter