Class: DateTime

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

Class Method Summary collapse

Class Method Details

.parse_fm_timestamp(timestamp) ⇒ Object



2
3
4
# File 'lib/trophonius_date_time.rb', line 2

def self.parse_fm_timestamp(timestamp)
  DateTime.strptime(timestamp, '%m/%d/%Y %H:%M:%S')
end