LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to add additional minute time

hi,

      how to add additional minute in time stamp.i will try to add but it will  come constantly 5hour 1minute only.

       

0 Kudos
Message 1 of 5
(3,042 Views)

Hi Hans,

 

two problems:

- overly complicated way to add a value to a timestamp: when you want to calculate with timestamps you should actually USE timestamps!

- wrong format code for the FormatDateTimeString function! (Read the help!)

 

check.png

(When you just want to display the timestamp you could use a timestamp indicator and change it's formatting…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(3,024 Views)

hi,

     i will given externally hour,minute,second.

0 Kudos
Message 3 of 5
(3,014 Views)

Ok, no problem… 🙂

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(3,004 Views)
Check this:

http://www.notatamelion.com/2015/04/27/pay-attention-to-units/

Doing math on time is a specific example I use.

Mike ..

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 5 of 5
(2,941 Views)