Keyword returns the current system (computer) time.
Current simulation time. In HHMM format.
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
NOTE:
SystemTime replaces CurrentTime
Syntax: |
---|
Print "SystemTime() ", SystemTime() |
Parameter: |
Description: |
---|---|
<none> |
|
Example: |
---|
Print "SystemTime() ", SystemTime() |
Returns: |
---|
SystemTime(), 1:28:03 PM |
Links: |
---|
|
See Also: |
Edit Time: 9/18/2020 12:01:21 PM |
Topic ID#: 612 |