User Tools

Site Tools


waituntildate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

waituntildate [2016/09/05 18:34] (current)
act created
Line 1: Line 1:
 +====== WaitUntilDate ======
 +The ''​WaitUntilDate''​ function waits (blocks) until the given date is reached. The function returns ''​false''​ if no arguments are passed. The format of the time string is '​yyyy-mm-dd'​ where '​yyyy'​ is the year, '​mm'​ the month, and '​dd'​ the day of the month. ​
  
 +==== Syntax ====
 +<​code>​
 +bool: WaitUntilDate(string dateString='​yyyy-mm-dd'​)
 +</​code>​
 +
 +==== Examples ====
 +<​code>​
 +var result = WaitUntilDate();​
 +// result: false
 +
 +var result = WaitUntilDate('​2016-12-21'​);​
 +// waits until 21st December 2016
 +</​code>​
waituntildate.txt · Last modified: 2016/09/05 18:34 by act