Usage of unixTimeToDateString

Return to directory of Todd's CASA extensions

Converts a unix time in seconds to a string of format: YYYY-MM-DD HH:MM:SS UT. See also ComputeJulianDayFromUnixTime and getCurrentUnixTime.

Usage:

au.unixTimeToDateString(unixtime)

Example:

CASA <5>: au.unixTimeToDateString(au.getCurrentUnixtime())
  Out[5]: '2013-09-21 15:17:18 UT'

-- ToddHunter - 2013-09-21

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > UnixTimeToDateString
Topic revision: 2013-09-21, ToddHunter
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback