Epoch & Unix Timestamp Converter (epoch2UTC)

Converts an epoch/unix timestamp into a human readable date

You are now following this Submission

A simple function that converts an epoch/unix timestamp into a human readable date
Output is both a vector of [Y, M, D, H, MN, S] saved in "dv" and a standard date (e.g., 04-Oct-2017 20:00:30) saved in "y"
Syntax: [y, dv] = epoch2UTC(epoch)

Cite As

Dr. Erol Kalkan, P.E. (2026). Epoch & Unix Timestamp Converter (epoch2UTC) (https://www.mathworks.com/matlabcentral/fileexchange/62997-epoch-unix-timestamp-converter-epoch2utc), 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.0