An example

use POSIX qw(strftime);
$date = strftime "%Y.%m.%d.%H.%M.%S", localtime;

print "$date \n";

Prints "2005.11.08.14.00.00" (Year, month, day, hour, minute, second)

-----Original Message-----
From: heena s [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 08, 2005 12:44 PM
To: begineers perl
Subject: how to print " time " ???

i need to timestamp the datas.
i am usingperl in windows machine.
 
tell me how print the time in file.
 
thanks,

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to