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
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
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
3 matches
Mail list logo