in reply to an hour from now in timestamp

Seeing that you're using MySQL, you could simply do:
select now() + interval 1 hour;
For a Perl-ish solution, you probably want to look at Date::Calc

Cheers,
Darren :)

Replies are listed 'Best First'.
Re^2: an hour from now in timestamp
by Fletch (Bishop) on Feb 07, 2006 at 23:57 UTC

    For just one hour, Date::Calc is probably overkill. Presuming you have it as epoch seconds just add 3600 and be done with it. However if this is just an example and your needs are more generic then yes look at that or something like DateTime.