Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is SWI-Prolog Year-2000 compliant?

compliant year-2000
0
10 Posted

Is SWI-Prolog Year-2000 compliant?

0
10

SWI-Prolog itself dows not do a lot with dates. It only uses them to support the make/0 predicate for reloading all files that have been modified since they were loaded the last time. It provides a few predicates for time representation and manipulation. Time/date is represented in two formats: as POSIX time-stamp and in a double-precision float reprenting seconds like POSIX time-stamp. The POSIX time-stamp is a signed long int representing seconds after the start of the year 1970. This representation overflows at 19 january 2038 on 32-bit machines and long after the end of our solar system on 64-bit machines. Conversion is done using standard POSIX time conversion routines. Whether or not these are Y2K compliant depends on the libraries being used to compile and/or run SWI-Prolog. Unless agreed explicitely otherwise, there is no waranty of any kind on SWI-Prolog and therefore this statement just reflects the status `to the best of our knowledge’.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123