> Part of the reason this isn't in the library is that there's a number of safety issues when converting back to
> time_t
Please, note that all the issues you mentioned are relevant to the to_tm() function as well (except it has 1900-based year, while time_t is 1970-based).
Get news, entertainment and everything you care about at Live.com. Check it out!