# File lib/ole/types/base.rb, line 111
      def self.dump time
        return 0.chr * SIZE unless time
        # convert whatever is given to be a datetime, to handle the large range
        case time
        when Date # this includes DateTime & FileTime
        when Time
          time = from_time time
        else
          raise ArgumentError, 'unknown time argument - %p' % [time]
        end
        # round to milliseconds (throwing away nanosecond precision) to
        # compensate for using Float-based DateTime
        nanoseconds = ((time - EPOCH).to_f * 864000000).round * 1000
        high, low = nanoseconds.divmod 1 << 32
        [low, high].pack 'V2'
      end