[flexcoders] Re: Help with finding days between a start and end date

2007-04-03 Thread Mark
Thank you, this is working nicely -Mark --- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> wrote: > > Your math is OK, but for timezones that support Daylight Savings Time > your logic isn't. In those timezones, not every day will be exactly > 24 hours long. A quick way

[flexcoders] Re: Help with finding days between a start and end date

2007-04-02 Thread Doug Lowder
Your math is OK, but for timezones that support Daylight Savings Time your logic isn't. In those timezones, not every day will be exactly 24 hours long. A quick way to verify is to make the following change: hListArray.addItem(lastDate.toUTCString()); If you need dates converted to local t