$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Lars Schouw (schouwla_at_[hidden])
Date: 2003-12-24 04:22:03
I found a solution:
long no_days(boost::gregorian::date d1, boost::gregorian::date d2)
{
using namespace boost::gregorian;
using namespace boost::posix_time;
date_period dp(d1, d2);
return dp.length().days();
}
---------------------------------
Do you Yahoo!?
Yahoo! Photos - Get your photo on the big screen in Times Square