in reply to Parse and Summarise Big Brother logs
...You could...
chomp(my $today = `date +%Y-%m-%d`);
...
THX!my (@date)=((localtime())[5,4,3]); $date[0]+=1900; $date[1]++; my ($today)=sprintf("%4i-%02i-%02i",@date);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Parse and Summarise Big Brother logs
by CharlesClarkson (Curate) on Jun 18, 2006 at 05:18 UTC |