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
1.4K Downloads
Updated 3 Apr 2007

View License

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 (2024). 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
Created with R14SP2
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Dates and Time in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
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