12-17-2014 05:44 AM
Hi,
I've created a subVI that transform an string data/time to Time stamp format.
The subVI seems that it works fine, but when I use the data 26/10/2014 and I add 1 day, it crashes! The result is 26/10/2014 23:00:00 instead of 27/10/2014 00:00:00.
Cordially
Vicen
Solved! Go to Solution.
12-17-2014 05:55 AM - edited 12-17-2014 05:59 AM
Hi vicens,
I don't think your VI crashes - it just outputs an unexpected result. Quite a difference…
What is the timestamp before you add 86400s to it?
Here's the result on my computer:
Looks ok to me…
Which timezone is your computer set to?
12-17-2014 09:00 AM - edited 12-17-2014 09:03 AM
Hi GerdW,
You are right. The VI outputs an unexpected result when... ONLY the timestamp is 26/10/2014 or concerns this timestamp .
My timezone is SPAIN.
Thank a lot.
Vicen
LV 2010/2011 on WinXP/Win7
12-17-2014 09:04 AM
12-18-2014 09:33 AM
Thank you both!
I think I've solved the problem.
Vicen
LV 2010/2011 on WinXP/Win7