Date and time library for Prolog