Connecting Tech Pros Worldwide Forums | Help | Site Map

how to determin if a date is in between two other dates?

Oliver Bleckmann
Guest
 
Posts: n/a
#1: Dec 6 '06
for i dont know how to work with date types in c++
this is a very difficult task for me
any suggestions how to start?



dasjotre
Guest
 
Posts: n/a
#2: Dec 6 '06

re: how to determin if a date is in between two other dates?



Oliver Bleckmann wrote:
Quote:
for i dont know how to work with date types in c++
this is a very difficult task for me
any suggestions how to start?
What date types in C++?

As far as I know there is only C stuff declared in time.h (or its C++
wrap ctime).

Be more specific.

Alf P. Steinbach
Guest
 
Posts: n/a
#3: Dec 6 '06

re: how to determin if a date is in between two other dates?


* Oliver Bleckmann:
Quote:
for i dont know how to work with date types in c++
this is a very difficult task for me
any suggestions how to start?
Take a look at the Boost library. It has some date and time stuff. As
I recall they messed up comparisions (necessary to add some simple
wrappers), but still usable.

--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
osmium
Guest
 
Posts: n/a
#4: Dec 6 '06

re: how to determin if a date is in between two other dates?


"Oliver Bleckmann" writes:
Quote:
for i dont know how to work with date types in c++
this is a very difficult task for me
any suggestions how to start?
Convert the three dates to Julian day number and do comparisons on those
dates.


Closed Thread