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.
22 typedef time_t time_type;
24 time_type current_time();
26 /** Returns a locale-dependent formatting of the date
27 * and time encoded in \c time. The \p fmt string
28 * holds the formatting arguments of \c strftime.
30 std::string const formatted_time(time_type t, std::string const & fmt);
32 /** Returns a locale-dependent formatting of the date
33 * and time encoded in \c time. For the formatting,
34 * \c lyxrc.date_insert_format is being used.
36 std::string const formatted_time(time_type t);