Second()

Syntax

Result = Second(Date)
Description
Returns the second value of the specified date.

Parameters

Date The date from which to extract the seconds.

Return value

Returns the second component of the date. The result is always between 0 and 59.

Example

  Debug Second(Date(1970, 1, 1, 11, 3, 45))  ; Outputs '45'.

See Also

FormatDate(), Year(), Month(), Day(), Hour(), Minute()

Supported OS

All

<- ParseDate() - Date Index - Year() ->