SystemTime

Top  Previous  Next

Keyword returns the current system (computer) time.

 

There are three return formats depending on the parameter passed into the function. If no parameter is passed in, then type 1 is assumed.

 

Type 1 returns the time in your local format.

Type 2 returns the time in an HHMM format, so it can be compared to instrument.time and test.currentTime.

Type 3 returns the number of seconds since the start of the current day. Useful for timing application processes.

 

SystemTime                        8:46:36 AM

SystemTime( 1 )                8:46:36 AM

SystemTime( 2 )                846

SystemTime( 3 )                31596