Re: HowTo convert "seconds since `00:00:00 1970-01-01 UTC" into a human readable date

From: Randal L. Schwartz (merlyn_at_stonehenge.com)
Date: 04/14/04

  • Next message: Hermann Peifer: "Re: HowTo convert "seconds since `00:00:00 1970-01-01 UTC" into a human readable date"
    Date: Wed, 14 Apr 2004 14:55:06 GMT
    To: Hermann Peifer <peifer@gmx.net>
    
    

    >>>>> "Hermann" == Hermann Peifer <peifer@gmx.net> writes:

    Hermann> Any solution is welcome, preferably a simple one, e.g. a shell oneliner.

    perl -lpe 'print scalar localtime $_' <file_of_numbers >list_of_strings

    -- 
    Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
    <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
    Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
    See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
    

  • Next message: Hermann Peifer: "Re: HowTo convert "seconds since `00:00:00 1970-01-01 UTC" into a human readable date"

    Relevant Pages