Max and min date and time

Discussion of the Meteohub software package

Moderator: Mattk

Post Reply
meteoshopping
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: Fri May 07, 2010 11:33 am

Max and min date and time

Post by meteoshopping »

Hi

when i use: [day1_th0_tempmax_time] the result is 20080608133544 but hi to have the time like this 13:35 how i can do that ?
cgn
Expert Boarder
Expert Boarder
Posts: 91
Joined: Fri Jan 15, 2010 10:54 pm
Location: cgn

Re:Max and min date and time

Post by cgn »

meteoshopping wrote:Hi

when i use: [day1_th0_tempmax_time] the result is 20080608133544 but hi to have the time like this 13:35 how i can do that ?

You can specify a substring (described in the user manual v4.6en on page 69):

[day1_th0_tempmax_time#IJ] returns "13"
[day1_th0_tempmax_time#KL] returns "35"

[day1_th0_tempmax_time#IJ]:[day1_th0_tempmax_time#KL] returns "13:35"
Best regards
cgn

-----------------------------------------
Weather Station: Oregon WMR 200
Meteohub-System: SheevaPlug
Since Dec 2009
meteoshopping
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: Fri May 07, 2010 11:33 am

Re:Max and min date and time

Post by meteoshopping »

Thanks, it work well
Post Reply