DateInputGetYear

Purpose:

Get the year from a Date Input object variable.

Category:

Time/Date

Syntax:

DateInputGetYear [myDate] [result]
myDate

Date Input object variable to store the date selected by the user.

result

Variable to store the year of [myDate].

Example:

DateInputGetYear  [myDate] [year]


DateInputGetMonth

Purpose:

Get the month from a Date Input object variable.

Category:

Time/Date

Syntax:

DateInputGetMonth [myDate] [result]
myDate

Date Input object variable to store the date selected by the user.

result

Variable to store the month of [myDate].

Example:

DateInputGetMonth [myDate] [month]


DateInputGetDay

Purpose:

Get the day of the month from a Date Input object variable.

Category:

Time/Date

Syntax:

DateInputGetDay [myDate] [result]
myDate

Date Input object variable to store the date selected by the user.

result

Variable to store the day of [myDate].

Example:

DateInputGetDay [myDate] [day]


DateInputSetDate

Purpose:

Store a date into a Date Input variable.

Category:

Time/Date

Syntax:

DateInputSetDate [myDate] [fullYear] [monthNumber] [dayNumber]
myDate

Date Input object variable to store the date.

fullYear

Full year (ie: 2023).

monthNumber

Month number (1 - 12).

dayNumber

Day number (1 - 31).

Example:

DateInputSetDate [myDate] "2023" "12" "31"


SetTimeOut

Purpose:

Execute a subroutine, after waiting a specified number of milliseconds.

Category:

Time/Date

Syntax:

SetTimeOut milliseconds "subroutine" [variable]
milliseconds

Milliseconds to wait before calling the subroutine (delay).

subroutine

Subroutine name.

variable

Variable name to store the TimeOut.

Example:

SetTimeOut 2000 "mySubroutine" [myTimeOutVar]


ClearTimeOut

Purpose:

Stop a given TimeOut.

Category:

Time/Date

Syntax:

ClearTimeOut [variable]

variable

Variable name where the TimeOut is stored.

Example:

ClearTimeOut [myTimeOutVar]


SetInterval

Purpose:

Repeat the execution of a subroutine continuously every given time-interval in milliseconds.

Category:

Time/Date

Syntax:

SetInterval milliseconds "subroutine" [variable]

milliseconds

Milliseconds to wait before calling the subroutine each time (delay).

subroutine

Subroutine name.

variable

Variable name to store the Interval.

Example:

SetInterval 2000 "mySubroutine" [myIntervalVar]


ClearInterval

Purpose:

Stop a given Interval.

Category:

Time/Date

Syntax:

ClearInterval [variable]

variable

Variable name where the Interval is stored.

Example:

ClearInterval [myIntervalVar]


Delay

Purpose:

Pause script execution for a specified number of milliseconds.

Category:

Time/Date

Syntax:

Delay numberOfMilliseconds

Example:

Delay 1000

Created with the Personal Edition of HelpNDoc: Produce electronic books easily