07-01-2019 10:43 AM
ok... has anyone seen this before? I'm trying to set a date in the future... and when I convert it to a string, using the Get Date/Time String function, I'm getting a date of 1964. I'm sure it is probably some issue relating to the date I'm choosing... but I'm trying to leave it as far out as possible. Any suggestions?
I've included the base code showing this, in addition to a screen-shot of what I'm seeing.
I did some digging and found it may be related to a time-zone thing, or something? But I haven't changed my time zone on my PC ever...
Any help is greatly appreciated.
Solved! Go to Solution.
07-01-2019 10:45 AM
*NOTE: I did try using the different formats, and in every case, the time is way off and the date is 1964 (for an input date of 12/31/2100 12PM
07-01-2019 10:58 AM
It looks like 2/6/2040 12:28AM is the last date it will correctly interpret.
(Note, I do have a 64-bit system, but I'm forced to use the 32-bit version of LV due the Database Connectivity Toolkit only being available in 32-bit)
07-01-2019 11:52 AM
It works fine using Format Into String. I would think it's a bug in the Get Date/Time String
07-01-2019 11:59 AM
sounds like it...
07-02-2019 11:28 AM
Maybe NI is trying to get you to move over to NXG by the year 2040. 😉
07-02-2019 01:43 PM