datetime issues in reports