portable way to get present time and date

What is a portable way to get the present time and date? Stephen

On 6/19/06, Stephen Torri
What is a portable way to get the present time and date?
Perhaps Boost.Date_Time? http://boost.org/doc/html/date_time/posix_time.html#ptime_from_clock http://boost.org/doc/html/date_time/gregorian.html#date_construct_from_clock HTH, ~ SWMc

On Tue, 2006-06-20 at 00:17 -0400, me22 wrote:
On 6/19/06, Stephen Torri
wrote: What is a portable way to get the present time and date?
Perhaps Boost.Date_Time? http://boost.org/doc/html/date_time/posix_time.html#ptime_from_clock http://boost.org/doc/html/date_time/gregorian.html#date_construct_from_clock
Thanks. I missed that posix_time function local_time when I quickly glanced the function list. Stephen
participants (2)
-
me22
-
Stephen Torri