Class: DateTime

Inherits:
Object show all
Defined in:
lib/other.rb

Instance Method Summary collapse

Instance Method Details

#to_orObject



161
162
163
# File 'lib/other.rb', line 161

def to_or
 "date(\'#{self.strftime("%Y%m%d%H%M%S")}\',\'yyyyMMddHHmmss\')"
end