ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
05-12-2017 11:26 PM
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
Solved! Go to Solution.
05-13-2017 02:36 AM
simply subtract one day which is 86400 seconds:
05-14-2017 04:50 PM
Got it. Thanks a lot.