DateGetSecond

See Also: Time and Date Functions

Purpose

The DateGetSecond function returns the Second component of the given DateTime variable, dtVar.

Return Type

Integer

Syntax

DateGetSecond( {dtVar} )

Where:

Example

Procedure test

    DateTime dtVar

 

    //Get the current local date and time

    Move (CurrentDateTime()) To dtVar

    Showln "The Second of " dtVar " is: " (DateGetSecond(dtVar))

End_Procedure