Jump to content
Sign in to follow this  
professor_rumsdiegeige

Conversion of "YY-MM-DD" to TimeStamp

Recommended Posts

Hello!

I read measurement values out of a file. For each measurement, I also read the year, the month and the day of the measurement. This file is not created by Labview.

Now I would like to convert these three numbers I have (year, month and day as integers) to a TimeStamp.

How is this possible?

Share this post


Link to post
Share on other sites

Use the Date/Time to Seconds primitive VI found in the Timing sub-palette. With this you give a cluster of inputs (including but not limited to Day of Month, Month, and Year) and the output is a Time Stamp.

Share this post


Link to post
Share on other sites

QUOTE (hooovahh @ Jan 21 2009, 07:19 PM)

Use the Date/Time to Seconds primitive VI found in the Timing sub-palette. With this you give a cluster of inputs (including but not limited to Day of Month, Month, and Year) and the output is a Time Stamp.

Thanks, this solved my problem!

Share this post


Link to post
Share on other sites

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.

Sign in to follow this  

×
×
  • Create New...

Important Information

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