Guruthilak Posted September 1, 2009 Report Share Posted September 1, 2009 Hello, I have a simple question (complicated for me now) I have a linux based H/W that gives me its present time in seconds which is of the format "number of seconds since January 1 1970" Now how would i convert the same to the one that Labview function "Format Date/Time String" or "Get Date/Time In Seconds" gives out? Quote Link to comment
mbrowne Posted September 1, 2009 Report Share Posted September 1, 2009 Use the "Date/Time to Seconds" to convert 1/1/1970 to a LV time stamp (seconds from 1/1/1904) Then add the seconds returned from your hardware to this value to give you the LV time stamp for the harware. The native LV time stamp for the harware can now be used as an input to the "Format Date/Time String" function etc. 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.