milliseconds

returns the number of milliseconds since the start of the eon.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:

# Syntax

the milliseconds

# Examples

the milliseconds

if the milliseconds - startMilliseconds < 10 then answer "Success!"

# Description

Use the milliseconds function to time events that must be checked more often than once per second.

The milliseconds function returns the total number of milliseconds since midnight GMT, January 1, 1970.

A millisecond is one-thousandth of a second. If you don't need to time events with this much precision, use the seconds function or the ticks function.

# Tags

# See

- **keyword:** integer, milliseconds - **command:** convert - **function:** seconds, milliseconds, date, ticks - **control structure:** function - **glossary:** event, return, eon