Remove date_to_asn and date_to_dto. They were implemented wrong anyway