Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://150138]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2023-12-04 10:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (25 votes). Check out past polls.

    Notices?