Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Date subtraction (intervals) w/Class::DBI

by greywolf (Priest)
on Oct 15, 2004 at 20:39 UTC ( [id://399656]=note: print w/replies, xml ) Need Help??


in reply to Date subtraction (intervals) w/Class::DBI

I always use epoch seconds for date manipulation.

In this instance I would convert the date to epoch seconds then subtract 5 days (in seconds of course) then convert back to your original format.


mr greywolf
  • Comment on Re: Date subtraction (intervals) w/Class::DBI

Replies are listed 'Best First'.
Re^2: Date subtraction (intervals) w/Class::DBI
by saberworks (Curate) on Oct 16, 2004 at 00:26 UTC
    Thanks a bunch for your help. That's a good idea, one of those, "why didn't I think of that?"

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-04-24 10:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found