NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

get system time

How can i get a system time ?
and transfer to a specify format like this , "yyyymmddhhmmss" ?
0 Kudos
Message 1 of 4
(3,821 Views)

Hi,

I think a gettime function has been included in the built in fuctions. You can check this by using the Statement step type and using the browse button on the edit expression dialog.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 4
(3,817 Views)

Hi,

There are two functions, Date() and Time(). These function return a string and the date and time format is as defined in your Windows setup.

Regards

Ray Farmer

Regards
Ray Farmer
Message 3 of 4
(3,809 Views)
I got it,Thank you.
0 Kudos
Message 4 of 4
(3,801 Views)