LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Date/Time to Second

I am trying to create a custom timestamp with the node Date/Time to Second.  I am not sure why, but regardless of what input I feed it, I always get 00:00:00.000 PM MM/DD/YYYY.  Why is that?  See code.

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 1 of 6
(2,737 Views)

What is the data that you're trying to operate on? Can you attach the VI with some default dummy values set?

0 Kudos
Message 2 of 6
(2,728 Views)

Hi jyang72211,

  Somewhere the data which you are giving is invalid.Please verify the Help of that Date/Time to seconds Vi and check the input data.

 

 

 

Thanks and regards,

srikrishnaNF

Regards,
Srikrishna


0 Kudos
Message 3 of 6
(2,692 Views)

My guess is in the month part.

 

If you enter a month <1 or >12 the 'Date/Time to Seconds' will return what you are seeing.

0 Kudos
Message 4 of 6
(2,659 Views)

I have to agree with what's been said.  It's impossible to evaluate how the VI performs without seeing the data it is operating on.

Jim

LV 2020
0 Kudos
Message 5 of 6
(2,653 Views)

Sorry, I just had wrong input.

 

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 6 of 6
(2,608 Views)