Rev Language Reference


time - Get the time information

Get the current system time in milliseconds.

Usage

time(String option)

Arguments

option : String (pass by value)
The format of the time.
Default : fromBeginning
Options : year|day|seconds|milliseconds|fromBeginning

Return Type

Example

time()

# Wait a little bit
sum = 0
for (i in 1:10000) sum += i
# Now print the time again
time()