Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Compare Date

by OzzyOsbourne (Chaplain)
on Mar 07, 2002 at 21:31 UTC ( #150138=note: print w/ replies, xml ) Need Help??


in reply to Compare Date

This may be too simplistic, but can't you use this to give you the current day and just compare it to your database via an if statement?:
$day=(localtime(time))[3];

-OzzyOsbourne

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://150138]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2016-06-28 23:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (364 votes). Check out past polls.