Home > Language Reference > Wait Functions > Wait for a Date

Wait for a Date

The Pause for a Date/Hour pauses script execution until the specified Time or Date is reached.

Usage

Used rarely. Prefer to schedule the script for running it at a specific date/hour.

Syntax

Pause
        Date(<date_definition>)

    Time(<hour_definition>)
    EndPause

Parameters

Date, keyword, specifies the <date_definition> using the Date format as defined in Windows Region and Language settings.

Time, keyword,  specifies the <time_definition> using the Time format as defined in Windows Region and Language settings. 

See also

Wait for Image
Wait for a Keystroke
Wait for a Menu Selection
Wait for a Mouse Click
Wait for OCR Text
Wait for a Text
Wait for a Time Delay
Wait for a Window

Example

Pause until
    Date(6-1-2014)
    Time(10:16)
EndPause