clock

Returns the current date and time.

Syntax

R = clock()

Outputs

R
Vector.

Example

R = clock()
R = [ 2015 1 6 13 8 43 ]

Comments

The time will be formatted [Year, Month, Day, Hour, Minute, Second].
Note: Hours are displayed according to the 24-hour clock.