Skip to content

DateGetMillisecond

See Also: Time and Date Functions

Purpose

The DateGetMillisecond function returns the millisecond component of the given DateTime variable, dtVar.

Return Type

Integer

Syntax

DateGetMillisecond({dtVar})

Parameters

Example

Procedure TestDateGetMillisecond
    DateTime dtVar
    // Get the current local date and time
    Move (CurrentDateTime()) To dtVar
    Showln "The Millisecond of " dtVar " is: " (DateGetMillisecond(dtVar))
End_Procedure