ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get Previous date/time String

Solved!
Go to solution

Hi,All

Is there any method to show the previous date/time string? For example, date/time for today is 20170513. How to get the previous date/time string(20170512)? Thanks a lot.

 

Best,

lh666

 

 

0 Kudos
Message 1 of 3
(3,308 Views)
Solution
Accepted by lh6666

simply subtract one day which is 86400 seconds:

Screenshot 2017-05-13 09.34.51.png

Message 2 of 3
(3,260 Views)

Got it. Thanks a lot.

0 Kudos
Message 3 of 3
(3,201 Views)