lib/archive/support/time.rb
def to_time
      second = ((0b11111         & @dos_time)      ) * 2
      minute = ((0b111111  << 5  & @dos_time) >>  5)
      hour   = ((0b11111   << 11 & @dos_time) >> 11)
      day    = ((0b11111   << 16 & @dos_time) >> 16)
      month  = ((0b1111    << 21 & @dos_time) >> 21)
      year   = ((0b1111111 << 25 & @dos_time) >> 25) + 1980
      return Time.local(year, month, day, hour, minute, second)
    end
def to_time
      second = ((0b11111         & @dos_time)      ) * 2
      minute = ((0b111111  << 5  & @dos_time) >>  5)
      hour   = ((0b11111   << 11 & @dos_time) >> 11)
      day    = ((0b11111   << 16 & @dos_time) >> 16)
      month  = ((0b1111    << 21 & @dos_time) >> 21)
      year   = ((0b1111111 << 25 & @dos_time) >> 25) + 1980
      return Time.local(year, month, day, hour, minute, second)
    end
Returns a Time instance which is equivalent to the time represented by
 this object.