class Time

Public Instance Methods

stamp() click to toggle source

It will return in the format: '%Y-%m-%dT%H:%M:%S.%LZ' Example: puts Time.now.stamp

# File lib/nice/hash/add_to_ruby.rb, line 141
def stamp
  strftime("%Y-%m-%dT%H:%M:%S.%LZ")
end