Class: Date

Inherits:
Object show all
Defined in:
lib/gorillib/datetime/to_flat.rb

Constant Summary collapse

FLAT_FORMAT =

strftime() format to flatten a date

"%Y%m%d"

Instance Method Summary collapse

Instance Method Details

#to_flatObject

Flatten


18
19
20
# File 'lib/gorillib/datetime/to_flat.rb', line 18

def to_flat
  strftime(FLAT_FORMAT)
end