www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/20/12:27:23

From: mdr6 AT dana DOT ucc DOT nau DOT edu (Michael Dylan Ryan)
Newsgroups: comp.os.msdos.djgpp,comp.lang.c,alt.sb.programmer,alt.msdos.programmer,comp.os.msdos.programmer
Subject: Help with comparing dates
Date: 20 Mar 1997 03:01:47 GMT
Organization: Northern Arizona University, Flagstaff AZ, USA
Lines: 16
Message-ID: <5gq9ar$efi@ruby.ucc.nau.edu>
NNTP-Posting-Host: dana.ucc.nau.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Can someone help me with a function to compare two dates.  I want to write
a function that will take a date string char *d = "03/01/97" and two other
date strings, start and end, and check to see if d is in between them.

I have been working with dates for a while and can never get a function to
compare accurately 100% of the time.  Any help appreciated.

--
Michael D. Ryan [Dark Brotherhood Software]
Email: dbrotherhood AT geocities DOT com
       mdr6 AT dana DOT ucc DOT nau DOT edu
       TheShogun AT aol DOT com
Programming Page:  http://www.geocities.com/SiliconValley/Pines/5301/
--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019