Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI System Management Tools

DaySec

  • Last UpdatedOct 04, 2024
  • 1 minute read

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]

In This Topic
TitleResults for “How to create a CRG?”Also Available in