Return a time as the number of seconds that have elapsed since midnight.
XSharp.Core (in XSharp.Core.dll) Version: 2.6
Syntax Request Example
cTime AS STRING
) AS DWORD
public static uint Secs(
- Type: String
The time to convert to seconds, in the form hh:mO:ss.
The number of seconds from midnight to the time specified.
The return value cannot be greater than 86,400, the number of seconds in a day.
This example displays the number of seconds that have passed since midnight:
This example specifies a time greater than 24 hours: