filipex_27 Posted May 22, 2009 at 06:25 PM Report #266587 Posted May 22, 2009 at 06:25 PM Boas pessoal, alguém sabe se é possível ir buscar a data do sistema no prolog???
Rui Carlos Posted May 22, 2009 at 07:03 PM Report #266595 Posted May 22, 2009 at 07:03 PM Isto deve depender do interpretador que estás a usar... Para o SICStus podes ver aqui: https://www.cs.tcd.ie/courses/csll/sicstus/System-Utilities.html Rui Carlos Gonçalves
l3gion Posted June 3, 2009 at 04:50 PM Report #269702 Posted June 3, 2009 at 04:50 PM Para o GNU Prolog, faz date_time(TIME). Time e um predicado do tipo Time = dt(ANO,MES,DIA,HORA,MINUTO,SEGUNDO). cump's
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now