def time(arg)
      if arg.kind_of?(DateTime)
        arg = arg.to_time
      end
      return arg.to_i.to_s
    end
def time(arg)
      if arg.kind_of?(DateTime)
        arg = arg.to_time
      end
      return arg.to_i.to_s
    end
Converts the value into a unix time (seconds since unix epoch).

 @example
   >> GoogleMapsService::Convert.time(datetime.now())
   => "1409810596"

 @param [Time, Date, DateTime, Integer] arg The time.

 @return [String] String representation of epoch time