If the the datetime field is a nullable type, no matter if it has a value, it throws a null reference exception.