change Date.today to Time.now to deal with current time zone