Added a "Date check" for the example in case it runs over multiple days.