could someone please explain why we need to subtract boost::gregorian::date(1970,1,1) from a boost::posix_time::ptime to obtain a POSIX notation of time (i.e. microseconds since 1970,1,1 midnight UTC time zone)
For example this link provides clear instructions, but not the reason:
How do I convert boost::posix_time::ptime to time_t?
Thanks