Using date functions to specify job start and end date