Posted by Paul Lautman on 01/07/08 22:40
ysoussov@gmail.com wrote:
> Hey does anyone know of an easy script to use to figure out whether
> the current date is a weekend or not, i currently have a script that
> returns the current date and time. Also it would be great if it could
> take into account holidays.
if (substr(date('D'),0,1) == 'S')
Navigation:
[Reply to this message]
|