Localtime takes it's input either from the time() function if you call it 
without parameters, or from a timestamp you supply. So, if I wanted the 
current date and time, but 10 minutes into the future I'd do:

my $mydate=localtime( time() + 600 );

(600 seconds being 10 minutes, added to the current time). 

-- 
Bernhard van Staveren   -   madcat(at)ghostfield.com
GhostField Internet     -   http://www.ghostfield.com/
"A witty saying proves nothing, but damn it's funny!" - me, 1998 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to