This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to use the calendar_example to extract the current time

How to extract the current time from the calendar_example, i am not clear with the procedure

Parents Reply
  • Hi Adeel

    I must admit I asked myself the same question ;)

    The naive way is to simply add 2 hours to the timestamp before you do the conversion. 

    If my math is correct two hours should equal 7.200.000 ms, or 7200 seconds. 

    I will check with the date_time developer if there is a more elegant way to do this, that checks the local timezone and adjust the time accordingly. 

    Best regards
    Torbjørn

Children
Related