DaySec
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server 2024 R2
- PI Server
Return the total time in seconds between the start of day (midnight) and the time denoted in the argument.
Syntax
DaySec(t1)
Arguments
-
t1
A time expression, enclosed in single quotes
Returns
Total seconds since the start of day (midnight) till t1, in the range 0-86399
Exceptions
None
Example
-
DaySec('*')
[Return the number of seconds from the start of day (midnight) until now]