professor_rumsdiegeige Posted January 22, 2009 Report Share Posted January 22, 2009 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? Quote Link to comment
hooovahh Posted January 22, 2009 Report Share Posted January 22, 2009 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. Quote Link to comment
Antoine Chalons Posted January 22, 2009 Report Share Posted January 22, 2009 QUOTE (professor_rumsdiegeige @ Jan 21 2009, 06:33 PM) 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? Maybe this can help : http://lavag.org/old_files/monthly_01_2009/post-7452-1232564875.png' target="_blank"> Quote Link to comment
professor_rumsdiegeige Posted January 24, 2009 Author Report Share Posted January 24, 2009 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! 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.