DATEPART

Extract decimal yr/month/day/hr/min/sec from a datenum. More versatile than datevec.

Download
Download

You are now following this Submission

Cite As

Ian Howat (2026). DATEPART (https://in.mathworks.com/matlabcentral/fileexchange/15585-datepart), 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

Fixed error in seconds reporting.

Download