Re: about timestamp reformat
From: Gunnar Hjalmarsson (noreply_at_gunnar.cc)
Date: 03/22/04
- Next message: Joe Smith: "Re: Linux, Perl, and Memory problem"
- Previous message: Gunnar Hjalmarsson: "Re: about timestamp reformat"
- In reply to: Gunnar Hjalmarsson: "Re: about timestamp reformat"
- Next in thread: janet: "Re: about timestamp reformat"
- Reply: janet: "Re: about timestamp reformat"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 22 Mar 2004 19:43:10 GMT
Gunnar Hjalmarsson wrote:
>
> { '|' . (sprintf '%d-%02d-%02d-%02d%s%06d', $3, $months{$1},
> $2, $7 eq 'PM' ? 12+$4 : $4, $5, $6) . '|' }egx;
Those lines are probably better replaced with:
{ '|' . (sprintf '%d-%02d-%02d-%02d%s%03d', $3, $months{$1},
$2, $7 eq 'PM' ? 12+$4 : $4, $5, $6) . '000|' }egx;
-- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl
- Next message: Joe Smith: "Re: Linux, Perl, and Memory problem"
- Previous message: Gunnar Hjalmarsson: "Re: about timestamp reformat"
- In reply to: Gunnar Hjalmarsson: "Re: about timestamp reformat"
- Next in thread: janet: "Re: about timestamp reformat"
- Reply: janet: "Re: about timestamp reformat"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]