Convert time to Windows NT format
Updated 3 Apr 2007
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
Josiah Renfree (2023). 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 CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
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