Question regarding Date/Time format
Posted: Fri 05 Aug 2011 8:15 pm
Hi Steve,
I'm trying to work out how I can change the format of any date on my all-time records page. For example, the tag for my all-time highest temperature - #TtempH - shows "at 16:19 on 02 July 2009".
I want to lose the leading zero and make it "at 16:19 on 2 July 2009". The tag appears to contain the words "at" and "on" as well as the time and date elements.
How would I add a format command to drop that leading zero but retain "at" and "on"?
LATER:
I've worked out how to change the all-time time/date formats but can't work out how to drop the leading zero on my home page where it shows the current date and time.
I'm trying to work out how I can change the format of any date on my all-time records page. For example, the tag for my all-time highest temperature - #TtempH - shows "at 16:19 on 02 July 2009".
I want to lose the leading zero and make it "at 16:19 on 2 July 2009". The tag appears to contain the words "at" and "on" as well as the time and date elements.
How would I add a format command to drop that leading zero but retain "at" and "on"?
LATER:
I've worked out how to change the all-time time/date formats but can't work out how to drop the leading zero on my home page where it shows the current date and time.