[lkml]   [2010]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Regular ext4 error warning with HD in USB dock
    Ted Ts'o <> writes:

    > On Tue, Dec 28, 2010 at 11:41:53AM +0100, torn5 wrote:
    >> This is going to be a faq...
    >> I suppose the datetime is encoded (what format is that?) in that
    >> long number after "at".
    > Number of seconds since January 1st, 1970 midnight GMT. (Standard
    > Unix-time format). It's hard for the kernel to decode it since it
    > doesn't know what time-zone you are in, or what your local legislature
    > has done vis-a-vis arbitrary and cabritious adjustments to the
    > start/stop date of daylight savings time, etc.
    > It's easy enough to decode it using perl:
    > perl -e '$t = localtime(1289053677); print "$t\n"'

    The "date" program can decode these values too:
    date -d @1289053677
    Ben Pfaff

     \ /
      Last update: 2010-12-28 16:05    [W:0.033 / U:8.112 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site