Works out the number of multiples of various timespans (years, days, hours, minutes, seconds) in the provided total count of seconds, breaking the seconds count down into constituent parts.
Formats a string with the number of years, days, hours, minutes & seconds specified.
Formats a string with the number of years, days, hours, minutes & seconds specified. The string is formatted with short names for the time periods (e.g. 's' instead of 'seconds').
Formats the given UNIX timestamp into the form specified by the format string. If no format string is given, and the length of the destination output buffer has been set to at least 20 characters, then the timestamp will be formatted into the form 1982-09-15 10:37:29.
Formats the given UNIX timestamp into the form specified by the format string. If no format string is given, then the timestamp will be formatted into the form 1982-09-15 10:37:29.
Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).
Copyright (c) 2009-2016 dunnhumby Germany GmbH. All rights reserved.
Functions to format time strings.