Sanitised datetime field for tasks