4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
8 * \author Jürgen Spitzmüller
10 * Full author contact details are available in file CREDITS.
23 time_t current_time();
25 /** Returns a locale-dependent formatting of the date
26 * and time encoded in \c time. The \p fmt string
27 * holds the formatting arguments of \c strftime.
29 std::string const formatted_time(time_t t, std::string const & fmt);
33 * Since ctime() outputs the local time, the caller needs to ensure that the
34 * time zone and daylight saving time are the same as when \p t was created
37 time_t from_gmtime(std::string t);
39 } // namespace support