Jump to content

Time function weirdness on Raspberry Pi


Recommended Posts

So, I am seeing issues with the time functions.  See Snippet:

2059189634_Timefunctionproblems.png.a7aaa055439844bd2a268bea37616bf1.png

The output of Get Date/Time in Seconds shows the correct time according to the timezone set on the Raspberry Pi.  But, the Seconds to Date/Time and the Date/Time to Seconds seems to interpret the time input as UTC regardless of how the to UTC flag is set. 

I want the Cluster of time elements be in my timezone as well.  Is the only way to handle this to manually correct for the timezone offset?  I can get the timezone offset through a python script so it is possible to do as a workaround.  But these functions don't seem to work properly on the Raspberry Pi.

Link to comment

I'm not sure if this helps but are you sure it takes timezone from the PI?

On RT systems (but I've not worked with the Pi) front panel timestamps display as the timezone of the host system which can cause confusion in things like this.

I don't think that explains everything your seeing but might help.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.