Get Date/Time In Seconds Function

Owning Palette: Timing VIs and Functions

Requires: Base Development System

Returns a timestamp of the current time. LabVIEW calculates this timestamp using the number of seconds elapsed since 12:00 a.m., Friday, January 1, 1904, Universal Time.

Use the To Double Precision Float function to convert the timestamp value to a lower precision, floating-point number.

Details  

 Add to the block diagram  Find on the palette
current time returns a timestamp of the LabVIEW system time. LabVIEW calculates this timestamp using the number of seconds elapsed since 12:00 a.m., Friday, January 1, 1904, Universal Time [01-01-1904 00:00:00].

Get Date/Time In Seconds Details

Timer resolution is system dependent and might be less accurate than one millisecond, depending on your platform. When you perform timing, use the Tick Count (ms) function to improve resolution.