Accessing BCO-DMO data
log in    
Brought to you by BCO-DMO    

ERDDAP > convert > Time

Convert a String Time to/from a Numeric Time

In various places in ERDDAP, a point in time can be represented as either: This web page has converters that can change string time values (with various formats) to/from numeric time values (with various units strings). It also has converters to change time strings and units strings that use other formats into the formats used by ERDDAP.

To avoid time zone and daylight saving time confusion, time values in ERDDAP always use the Zulu (UTC, GMT) time zone, denoted by 'Z'. The converters below accept string times with other time zones.

Convert from a string time
into a numeric time using units = .


Convert from a numeric time

into a string time.
17611992 hours since 0001-01-01T00:00:00Z = 2010-03-01T00:00:00Z

Convert any common string time
into an ISO 8601 string time.

Convert a UDUNITS-like time units string
into a proper UDUNITS time units string.

Reset the form to the default values.

Or, bypass this web page and do time conversions from within a computer program, script, or web page.

Notes about the Time Converter

How ERDDAP Deals with Time


Want To Do Time Conversions from within a Computer Program, Script, or Web Page?

If you change the extension of this web page's URL from .html to .txt, ERDDAP will respond with just the text result.

Percent Encoding - The parameter values in the URL (the parts after '=' signs) must be properly percent encoded (external link): all characters other than A-Za-z0-9_-!.~'()* must be encoded as %HH, where HH is the 2 digit hexadecimal value of the character, for example, a space becomes %20. Characters above #127 must be converted to UTF-8 bytes, then each UTF-8 byte must be percent encoded (ask a programmer for help). There are websites that percent encode and decode for you (external link).

ERDDAP, Version 2.02
Disclaimers | Privacy Policy | Contact