[date_time] obtaining the current time

View: New views
2 Messages — Rating Filter:   Alert me  

[date_time] obtaining the current time

by Sean Farrow :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi:

I need to obtain the users current local time in the users current time zone.

How would I go about doing this. Using a window operating system and visual studio 2008.

Cheers

Sean.


_______________________________________________
Boost-users mailing list
Boost-users@...
http://lists.boost.org/mailman/listinfo.cgi/boost-users

Re: [date_time] obtaining the current time

by Eric J. Holtman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sean Farrow wrote:
>
> Hi:
>
> I need to obtain the users current local time in the users current
> time zone.
>
> How would I go about doing this. Using a window operating system and
> visual studio 2008.
>

boost::posix_time::microsec_clock::local_time();
_______________________________________________
Boost-users mailing list
Boost-users@...
http://lists.boost.org/mailman/listinfo.cgi/boost-users