Add Asn_time.date_to_posix_time function.

Copyrights waived the project's license. And remember, never roll
in your own calendar calculation functions.
The idea was for him to contribute conversion, and me to massage it into place with the rest of the code, so this is.. transient.