Class: Time
- Inherits:
-
Object
- Object
- Time
- Defined in:
- lib/flox/utils.rb
Overview
Flox-extensions to the standard Time class.
Instance Method Summary collapse
-
#to_xs_datetime ⇒ String
An XS-DateTime representation of the string, like this:
2014-02-20T20:15:00.123Z
.
Instance Method Details
#to_xs_datetime ⇒ String
Returns an XS-DateTime representation of the string, like this:
2014-02-20T20:15:00.123Z
.
12 13 14 |
# File 'lib/flox/utils.rb', line 12 def to_xs_datetime strftime("%Y-%m-%dT%H:%M:%S.%LZ") end |