Convert time to Windows NT format

Used to convert a time vector into the time format used by Windows NT. This is the number of 100-ns

You are now following this Submission

The Windows NT time format is the number of 100 nanosecond intervals that has passed since January 1, 1601. This m-file is used to convert a normal time vector into this Windows NT format.

The function take a time vector with the same format as the output of Matlab's 'clock' function and returns a value expressing the number of 100 nanosecond intervals that have passed

Cite As

Josiah Renfree (2026). Convert time to Windows NT format (https://www.mathworks.com/matlabcentral/fileexchange/14506-convert-time-to-windows-nt-format), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

A factor of 100 was missing in the calculations, which resulted in the wrong time output. It has now been fixed and should be in working order