Class: CurationConcerns::TimeService

Inherits:
Object
  • Object
show all
Defined in:
app/services/curation_concerns/time_service.rb

Class Method Summary collapse

Class Method Details

.time_in_utcDateTime

Returns the current time in UTC.

Returns:

  • (DateTime)

    the current time in UTC



4
5
6
# File 'app/services/curation_concerns/time_service.rb', line 4

def self.time_in_utc
  DateTime.now.new_offset(0)
end