16.2 Numbers
The minutes
property and its ilk are intended to help you convert to seconds.
This is because date arithmetic uses seconds (Section 13.3 and Section 15.1).
Description
The
ratio of a circle's circumference to its diameter.
Example
set area to pi * (radius ^ 2)
Description
The number of seconds in a minute.
Example
(current date) + 30 * minutes -- half an hour from now
Description
The number of seconds in an hour.
Example
(current date) + 2 * hours -- two hours from now
Description
The number of seconds in a day.
Example
(current date) + 2 * days -- two days from now
Description
The number of seconds in a week.
Example
(current date) + 2 * weeks -- two weeks from now
|