Boost logo

Boost Users :

From: Seweryn Habdank-Wojewódzki (habdank_at_[hidden])
Date: 2006-05-19 14:06:30


Hi!

I wonder if there is any posibility to change boost::datetime result class eg.
long to any bignum class eg. from GMP library or double type.

It is important question for calculation distance between let's say 1900 and
2100 and using method eg. total_seconds(). There is no methods like
total_minutes(), total_hours(), total_days() and so on, so if I would like to
have a distance in days I have to calculate distance in seconds and
recalculate it to days, but for big distances total_seconds() exceeded long
ranges.

Regards.

-- 
|\/\/|   Seweryn Habdank-Wojewódzki
`\/\/   

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net