Class: Time
Instance Method Summary collapse
-
#stamp ⇒ Object
It will return in the format: '%Y-%m-%dT%H:%M:%S.%LZ' Example: puts Time.now.stamp.
Instance Method Details
#stamp ⇒ Object
It will return in the format: '%Y-%m-%dT%H:%M:%S.%LZ' Example: puts Time.now.stamp
151 152 153 |
# File 'lib/nice/hash/add_to_ruby.rb', line 151 def stamp strftime("%Y-%m-%dT%H:%M:%S.%LZ") end |