Boost logo

Boost :

Subject: Re: [boost] milliseconds UTC from discrete year, month, day, hour, minute, second
From: Bjorn Reese (breese_at_[hidden])
Date: 2013-11-22 05:59:57


On 11/21/2013 08:30 PM, Victor Yankee wrote:

> Can someone should me how to calculate the milliseconds since jan 1, 1970
> in UTC, given separate
> variables holding the year, month,day,hour,minute and seconds?

std::mktime(your_time) * 1000


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk