mbtime
Section: MB-System 5.0 (1)
Updated: 3 June 2013
Index
NAME
mbtime - Translate between calendar time values and unix time.VERSION
Version 5.0SYNOPSIS
mbtime [-Mtime_d -Tyear/month/day/hour/minute/second -V -H]DESCRIPTION
The program mbtime converts time values between unix time (seconds since 1970/01/01 00:00:00.000000) and calendar time (e.g. 2008/006/05/17/24/32.000000). Unix time is also known as POSIX time or epoch time, and are typically represented in MB-System documentation (and source code) as "time_d" values. The input time is set using the command line arguments -Mtime_d for epoch seconds and -Tyear/month/day/hour/minute/second for calendar time. The output time (in the form not specified as input) is written to stdout.MB-SYSTEM AUTHORSHIP
David W. Caress
Monterey Bay Aquarium Research Institute
Dale N. Chayes
Center for Coastal and Ocean Mapping
University of New Hampshire
Christian do Santos Ferreira
MARUM - Center for Marine Environmental Sciences
University of BremenOPTIONS
Suppose on wishes to convert the unix time 1212777434.0 to calendar time.
The following command:
mbtime -M1212777434.0
yields the following result:
2008/06/06/18/37/14.000000
Last Updated: 3 June 2013