Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

clock (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the time class.

Syntax

c = clock

Description

Returns current date and time information.

Examples

Outputs

Name Description
c Returns the current year, month, day, hour, minute, and second. c is a vector of 6 numbers.

Examples

A = clock
for i = 1:1000 sqrt(pi);
end
B = clock
C = B-A

datestr(clock)

Related Topics

cputime
datenum
etime
now
tic
toc


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit