In Python, if I want to check for a specific date + 24 hours has passed, I will write:
from datetime import datetime, timedelta
some_date = datetime(2013, 1, 10, 11, 0)
day = timedelta(1)
# Checks if some_date + 1 day is before today's date
print some_date + day < datetime.now()
How can I construct a time difference of 1 day and checks if a specific date + 1 day is before today's date in Ruby?