More work on tasks and added dateFormat