Jump to content

Timestamps in LabVIEW


c_w_k

Recommended Posts

Hello,

I'm trying to create a timestamp in LabVIEW, I get a timestamp variable from my C++ dll that is epoch (seconds since 00:00:00 January 1, 1970) - I think try to use the "seconds to data/time" function in labVIEW to convert it to a timestamp....the problem is, my timestamp is off by 303 years (just a lil off biggrin.gif). Is it possible to use the C++ variable to get a timestamp in LabVIEW? I think I read somewhere that LabVIEW uses the year 1904 for timestamps??? I'm not real familiar with creating timestamps.... I've attached screen shots of my code and the result...

Thanks in advance for any help.

-Chad

NOTE: The code above is something I tried (the 1000 x tm....thinking the milliseconds might have been off, the code that produced the results that are shown is actually the code below, sorry about that...

)post-15930-125719108925_thumb.jpg

-Chad

post-15930-12571876715_thumb.jpg

post-15930-125719073493_thumb.jpg

Edited by c_w_k
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
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.