Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Function template file_time_to_microseconds

boost::date_time::winapi::file_time_to_microseconds

Synopsis

// In header: <boost/date_time/filetime_functions.hpp>


template<typename FileTimeT> 
  boost::uint64_t file_time_to_microseconds(FileTimeT const & ft);

Description

The function converts file_time into number of microseconds elapsed since 1970-Jan-01

Notes:

Only dates after 1970-Jan-01 are supported. Dates before will be wrapped.

The function is templated on the FILETIME type, so that it can be used with both native FILETIME and the ad-hoc boost::date_time::winapi::file_time type.


PrevUpHomeNext