Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2018-01-19 21:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (222 votes). Check out past polls.

    Notices?