SWI-Prolog Did You Know Did you know? 8cD Search Documentation:
Time and date data structures