SAMOS - Convert Time - Standard Time to Minute Timestamp Calculation
Samos Logo
Convert Time - Standard Time to Minute Timestamp 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 Convtime procedures convert a standard year/month/day/hour/minute time into the minute timestamp used in the SAMOS Ship NetCDF. 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
yr 1980 2020
mon 1 12
day 1 31
hr 0 23
min 0 59

Output

Variable Lower Bound Upper Bound
timestamp 0 21565439

Program Codes

Language Filename
C convtime.c
FORTRAN convtime.f
IDL convtime.pro
PERL convtime.pl