method

middle_of_day

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Date
middle_of_day() public

Converts Date to a Time (or DateTime if necessary) with the time portion set to the middle of the day (12:00)

Show source
Register or log in to add new notes.