Re: [PHP] Bi-weekly pay period

2003-02-04 Thread bob parker
On Tue, 4 Feb 2003 11:17, Sarah Heffron wrote: I'm writing a quick little thing to act as a time clock since people are writing out by hand and it's not so accurate. It's basically click a button to clock in and click a button to clock out. What I also want to do is create a report (well I've

[PHP] Bi-weekly pay period

2003-02-03 Thread Sarah Heffron
I'm writing a quick little thing to act as a time clock since people are writing out by hand and it's not so accurate. It's basically click a button to clock in and click a button to clock out. What I also want to do is create a report (well I've already created the report) but I want to limit it

Re: [PHP] Bi-weekly pay period

2003-02-03 Thread Jason Sheets
This code will work for determining if the week is odd or even, it uses Monday for the first day in the week as noted on http://www.php.net/manual/en/function.date.php. ?php if ((date('W') % 2) == 0) { print 'week is even'; } else { print 'week is odd'; } ? Note I just scribbled