Skip to main content

Time.Second

Returns the second component.

Syntax

Time.Second(
dateTime as any
) as number

Remarks

Returns the second component of the provided time, datetime, or datetimezone value, dateTime.

Examples

Example #1

Find the second value from a datetime value.

Time.Second(#datetime(2011, 12, 31, 9, 15, 36.5))

Result:

36.5

Category

Time