Class: DateTime
- Inherits:
-
Object
- Object
- DateTime
- Defined in:
- lib/common_functions.rb
Class Method Summary collapse
Class Method Details
.print_date(timestamp) ⇒ Object
32 33 34 |
# File 'lib/common_functions.rb', line 32 def self.print_date() .strftime("%F") end |
.print_date_time(timestamp) ⇒ Object
36 37 38 |
# File 'lib/common_functions.rb', line 36 def self.print_date_time() .strftime("%F %T") end |