How can I convert a time like 10:30 to seconds? Is there some sort of built in Ruby function to handle that?
Basically trying to figure out the number of seconds fro
Yet another implementation:
Time.now.to_i - Date.today.to_time.to_i # seconds since midnight