Convert time to Windows NT format
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 .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 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 |
