Time format. **solved**

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
Ed_Heaton
Senior Boarder
Senior Boarder
Posts: 55
Joined: Tue Mar 25, 2014 2:44 pm

Time format. **solved**

Post by Ed_Heaton »

Hello,
I need some help. I'm trying to switch my time format from 24h to 12h am/pm. It apparently is coming from the http events upload section in the meteobridge settings - https://atglenweather.com/conds.php?d=[ ... ]:[mm]:[ss],....

Thanks
Mattk
Platinum Boarder
Platinum Boarder
Posts: 1395
Joined: Mon Sep 22, 2014 3:24 am

Re: Time format

Post by Mattk »

Check out the Time/Date Variables section on this page https://www.meteobridge.com/wiki/index.php/Templates

Basically lower case h controls 24 hour version and upper case H is 12 hour notation and you can add apm or APM to return "am" or "pm" or upper case "AM" or "PM"
Ed_Heaton
Senior Boarder
Senior Boarder
Posts: 55
Joined: Tue Mar 25, 2014 2:44 pm

Re: Time format

Post by Ed_Heaton »

Thank you and I think I figured it out.
Post Reply