SAMOS - Inverse Time Calculation
Samos Logo
Inverse Time Calculation

NOTICE [2020-Mar-09]:
Convtime/Invtime have been replaced by a unified "coapstime" utility.

You will automatically be redirected to the new code in 15 seconds.
Click here to view the new code now.

 

The Invtime procedures convert the minute timestamp used in the SAMOS Ship NetCDF back into a standard year/month/day/hour/minute time. These codes were developed during WOCE and are available in C, FORTRAN, and IDL source. The timestamp is the number of minutes since 01-01-1980 00:00 UTC.

Input

Variable Lower Bound Upper Bound
timestamp 0 21565439

Output

Variable Lower Bound Upper Bound
yr 1980 2020
mon 1 12
day 1 31
hr 0 23
min 0 59

Program Codes

Language Filename
C invtime.c
FORTRAN invtime.f
IDL invtime.pro