home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 68 
 mark lewis to Richard Webb 
 another convoluted brainteaser for the g 
 07 Feb 12 22:34:30 
 
 RW> The whoel thing keys for number of days in a given month off a
 RW> little text file which contains that info which my system
 RW> creates at the beginning of each month.  Of course I have to edit
 RW> it for leap years, since by default it assumes February has 28
 RW> days.  

you know that you can automatically handle this with a small bit of math,
right? i'd have to look at some code to make sure i state it correctly but
leap years can be determined by current year div 4 but there's also a 400
involved... this is why i need to take a sec later on and look at the real
formula... then you can have an array with all of the month days count and
automatically adjust FEB when it has 29 days ;)

)\/(ark 

 * Origin:  (1:3634/12)

<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca