|
Boost Users : |
From: thom_schu_at_[hidden]
Date: 2007-08-18 03:25:40
Hi all,
Can anyone tell me how to construct a date (gregorian) with a julian number ?
I tried the constructor "date(special_values sv)" and it looked like it would work, but Im not sure if I can do this (what for is this constructor ?)
So after taking a look in the source I found another possibility:
greg_year_month_day ymd = gregorian_calendar::from_julian_day_number(2443510);
date d(ymd);
So are both ways right ?
thanks in advance
-- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
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