From: Rob Biedenharn Date: 2007-12-20T06:34:55+09:00 Subject: Re: Basic date/time question. On Dec 19, 2007, at 4:28 PM, Jean-nicolas Jolivet wrote: > I'm trying to calculate a period of time; basically each month is > divided in 2 periods, from the 1st of the month to the 15th is > period1, > and from the 16th to the last day of the month is period2... > > Now my problem is that..I'm not sure if midnight (00:00:00) is > considered the "end " of the current day, or the "start" of the next > day... > > So for example; is December 15th, midnight (00:00:00) considered the > very start of December 15th, or the very end of it? > > Basically, I'm not sure as to where a "day" starts and ends? > (ex: from 00:00:00 to 11:59:59? or from 00:00:01 to 00:00:00 etc..) > > Any help would be appreciated.. I know it might sound a bit > confusing, I > can try to explain it better... > -- Midnight is the START of the day. -Rob Rob Biedenharn http://agileconsultingllc.com Rob@AgileConsultingLLC.com