Skip to main content

DaySec Method

Returns the number of seconds from midnight to a specified time.

Definition​

Namespace: GHost.GSharp.PI.ACE
Assembly: GHost.GSharp.PI.ACE (in GHost.GSharp.PI.ACE.dll) Version: 1.2.44.3 (1.2.44.3)

C#

public static double DaySec(Object time)

VB

Public Shared Function DaySec (time As Object) As Double

Parameters​

  Object
Timestamp

Return Value​

Double
Number of seconds from midnight to a specified time.

Exceptions​

ArgumentException

See Also​

Reference​

PIACEBIFunctions Class
GHost.GSharp.PI.ACE Namespace