Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: DateTime->now problem

by eff_i_g (Curate)
on Apr 01, 2011 at 21:03 UTC ( [id://896999]=note: print w/replies, xml ) Need Help??


in reply to DateTime->now problem

Can you post more code? Where are you calling from_epoch?

Also, please see Writeup Formatting Tips.

Replies are listed 'Best First'.
Re^2: DateTime->now problem
by ikegami (Patriarch) on Apr 01, 2011 at 21:09 UTC
    sub now { shift->from_epoch( epoch => ( scalar time ), @_ ) }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2025-11-13 08:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (68 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.