Easier access to scientific data
Brought to you by NOAA NMFS SWFSC ERD
Reset the form to the default values.
Or, bypass this web page and do time conversions from within a computer program.
Notes about the Time Converter
The first word can be (upper or lower case):
ms, msec, msecs, millis, millisecond, milliseconds,
s, sec, secs, second, seconds,
m, min, mins, minute, minutes,
h, hr, hrs, hour, hours,
d, day, days,
mon, mons, month, months,
yr, yrs, year, or years.
"since" is required.
The time can be any time in the format YYYY-MM-DDThh:mm:ssZ .
The T, hh, :mm, :ss, and Z parts are optional.
So another example is "hours since 0001-01-01".
Technically, ERDDAP does NOT follow the CF standard when converting "years since"
and "months since" time values to "seconds since". The CF standard defines a
year as a fixed, single value: 3.15569259747e7 seconds. And CF defines a month
as year/12. Unfortunately, most/all datasets that we have seen that use
"years since" or "months since" clearly intend the values to be calendar years
or calendar months. For example, "3 months since 1970-01-01" is usually intended
to mean 1970-04-01. So, ERDDAP interprets "years since" and "months since" as
calendar years and months, and does not strictly follow the CF standard.
How ERDDAP Deals with Time
When reading ISO 8601 times with decimal seconds, ERDDAP accepts a period separator
(e.g., 2011-04-26T14:07:12.059Z) or a comma separator (e.g., 2011-04-26T14:07:12,059Z).
Currently, when writing ISO 8601 times ERDDAP always uses a period separator.