Class: Date

Inherits:
Object
  • Object
show all
Defined in:
lib/ndr_support/date_and_time_extensions.rb

Instance Method Summary collapse

Instance Method Details

#to_isoObject

to_iso output must be SQL safe for security reasons



8
9
10
# File 'lib/ndr_support/date_and_time_extensions.rb', line 8

def to_iso
  strftime('%Y-%m-%d')
end