Re: [MRBS-general] Leap Year 2008
Brought to you by:
jberanek
From: Gary L. <gar...@ub...> - 2007-12-12 18:09:21
|
Hello Julie, I think the calendar function will handle it properly under function.inc: "function daysInFebruary (year){ // February has 28 days unless the year is divisible by four, // and if it is the turn of the century then the century year // must also be divisible by 400 when it has 29 days return (((year % 4 == 0) && ( (!(year % 100 == 0)) || (year % 400 == 0))) ? 29 : 28 ); } " I wouldn't worry about it if you didn't change this function. Cheers, Gary Liu (SCJP,MCSE & CCNA) Library - Systems Division University of British Columbia Email: gar...@ub... Khushalani, Julie wrote: > Hello, > > I had a question that has been on our minds since a long time now… > > "How will MRBS behave in a leap year? 2008 is a leap year. How will it > deal with February 29th?" > > > > Is there anyone who has an answer to this? > > > > > > > > **Thank You,** > > **Julie Khushalani** > > **Graduate Student - Computer Science** > > *Enrollment Services - Cato Hall* > > **University**** of North Carolina at Charlotte** > > **Email: ****jnk...@un...** <mailto:jnk...@un...> > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services > for just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > > > ------------------------------------------------------------------------ > > _______________________________________________ > mrbs-general mailing list > mrb...@li... > https://lists.sourceforge.net/lists/listinfo/mrbs-general |