nnow
Version 1.0.0 (1.86 KB) by
Paul Shoemaker
Similar to the Matlab built-in "now.m" function, except "nnow.m" returns the time at the New York Stock Exchange (NYSE)
If you have Matlab code that trades the markets and needs to know what time it is on the New York Stock Exchange, nnow.m will give it to you no matter where you are in the world, requiring no configuration.
It is used just like "now" and similarly returns a datenum-formatted time that is always US Eastern Timezone no matter where you are in the world.
Cite As
Paul Shoemaker (2026). nnow (https://www.mathworks.com/matlabcentral/fileexchange/68282-nnow), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2018a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Financial Toolbox in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: Timezone Convert by Erwin Mayer with vector support
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
