Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Datetime Intrinsic Functions - AsSeconds Method

Panel
bgColor#2c3c4c

Return the variable as the number since midnight

Member of Datetime Intrinsic Functions (PRIM_LIBI.IDateTimeIntrinsics)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

Decimal

Resulting number

Details

AsSeconds returns the number of seconds since 00:00:00 for the specified time in the datetime as a decimal value including milliseconds.

Example

In this example, a date time of 2014-12-31 12:34:56.8503 would return 45296.8503.

     #Result := #DateTime.AsSeconds

See also

All Component Classes

Technical Reference