# File lib/rufus/sc/rtime.rb, line 58
  def Rufus.time_to_iso8601_date (time)

    s = time.getutc().strftime(TIME_FORMAT)
    o = time.utc_offset / 3600
    o = "#{o}00"
    o = "0#{o}" if o.length < 4
    o = "+#{o}" unless o[0..1] == '-'

    "#{s} #{o}"
  end