Re: Finding specific date ranges

2007-09-07 Thread Ricardo Aráoz
Tim Golden wrote: > [EMAIL PROTECTED] wrote: >> Hi, >> >> I am working on a timesheet application in which I need to to find the >> first pay period in a month that is entirely contained in that month >> to calculate vacation time. Below are some example date ranges: >> >> >> December 31, 2006J

Re: Finding specific date ranges

2007-09-07 Thread kyosohma
On Sep 7, 2:47 am, Tim Golden <[EMAIL PROTECTED]> wrote: > Zentrader wrote: > > On Sep 6, 7:56 am, [EMAIL PROTECTED] wrote: > >> December 31, 2006January 13, 2007 # doesn't earn > >> January 14, 2007January 27, 2007 # does earn > >> January 28, 2007February 10, 2007 # doesn't >

Re: Finding specific date ranges

2007-09-07 Thread kyosohma
On Sep 6, 6:41 pm, Zentrader <[EMAIL PROTECTED]> wrote: > On Sep 6, 7:56 am, [EMAIL PROTECTED] wrote: > > > December 31, 2006January 13, 2007 # doesn't earn > > January 14, 2007January 27, 2007 # does earn > > January 28, 2007February 10, 2007 # doesn't > > February 11, 2007

Re: Finding specific date ranges

2007-09-07 Thread Tim Golden
Zentrader wrote: > On Sep 6, 7:56 am, [EMAIL PROTECTED] wrote: >> December 31, 2006January 13, 2007 # doesn't earn >> January 14, 2007January 27, 2007 # does earn >> January 28, 2007February 10, 2007 # doesn't >> February 11, 2007 February 24, 2007 # does > > Am I over si

Re: Finding specific date ranges

2007-09-06 Thread Zentrader
On Sep 6, 7:56 am, [EMAIL PROTECTED] wrote: > December 31, 2006January 13, 2007 # doesn't earn > January 14, 2007January 27, 2007 # does earn > January 28, 2007February 10, 2007 # doesn't > February 11, 2007 February 24, 2007 # does Am I over simplifying if I say that sin

Re: Finding specific date ranges

2007-09-06 Thread kyosohma
On Sep 6, 2:39 pm, Tim Golden <[EMAIL PROTECTED]> wrote: > > > Anyway, your method is probably clearer to read whereas mine > > > doesn't require anything to be imported. > > I think I've been a SQL & Python programmer for so long that > I tend to do anything -- and sometimes too much -- to avoid

Re: Finding specific date ranges

2007-09-06 Thread Tim Golden
[EMAIL PROTECTED] wrote: > On Sep 6, 12:41 pm, Tim Golden <[EMAIL PROTECTED]> wrote: >>> Thanks! I'll try it both ways and see if there's any appreciable >>> difference in speed, although since it will be packaged into an >>> executable, that may not be an issue anyway. >>> Mike >> I honestly doubt

Re: Finding specific date ranges

2007-09-06 Thread kyosohma
On Sep 6, 12:41 pm, Tim Golden <[EMAIL PROTECTED]> wrote: > > Thanks! I'll try it both ways and see if there's any appreciable > > difference in speed, although since it will be packaged into an > > executable, that may not be an issue anyway. > > > Mike > > I honestly doubt there's any advantage t

Re: Finding specific date ranges

2007-09-06 Thread Tim Golden
> Thanks! I'll try it both ways and see if there's any appreciable > difference in speed, although since it will be packaged into an > executable, that may not be an issue anyway. > > Mike I honestly doubt there's any advantage to my approach, certainly not in terms of speed. It's really only if

Re: Finding specific date ranges

2007-09-06 Thread kyosohma
On Sep 6, 10:57 am, Tim Golden <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Hi, > > > I am working on a timesheet application in which I need to to find the > > first pay period in a month that is entirely contained in that month > > to calculate vacation time. Below are some example d

Re: Finding specific date ranges

2007-09-06 Thread Tim Golden
[EMAIL PROTECTED] wrote: > Hi, > > I am working on a timesheet application in which I need to to find the > first pay period in a month that is entirely contained in that month > to calculate vacation time. Below are some example date ranges: > > > December 31, 2006January 13, 2007 # doesn't

Finding specific date ranges

2007-09-06 Thread kyosohma
Hi, I am working on a timesheet application in which I need to to find the first pay period in a month that is entirely contained in that month to calculate vacation time. Below are some example date ranges: December 31, 2006January 13, 2007 # doesn't earn January 14, 2007January 27,