Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Help with time 2

by MarkM (Curate)
on Mar 26, 2003 at 05:25 UTC ( [id://245868]=note: print w/replies, xml ) Need Help??


in reply to Help with time 2

I suspect you are passing 2003 into $year2, making mktime() croak. Also, I don't see a reference above to adding one to $mon to make it be as expected.

I would strongly suggest you store the raw timestamp value in $FORM{'userTime'}. This way, you don't need to parse it, or decode it. As long as you have control over userTime, this is safe.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2024-04-25 18:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found