Completed support to use datetime scheduling as well as the date