Class: Time
- Inherits:
-
Object
- Object
- Time
- Defined in:
- lib/ruby-wmi/core_ext/time_ext.rb
Instance Method Summary collapse
Instance Method Details
#to_swebmDateTime ⇒ Object
3 4 5 6 7 |
# File 'lib/ruby-wmi/core_ext/time_ext.rb', line 3 def to_swebmDateTime t = strftime("%Y%m%d%H%M%S") o = gmt_offset/60 "#{t}.000000#{o}" end |