clock

Type: External

Group: general

Syntax

clock()

Description

Returns the current date and time as a six element vector.

Notes

The variable should be given as a string containing the variable name.

Examples

clock() = [2,002, 6, 6, 5, 23, 34]

See Also

date, tic, toc, time