Fix predicates for getting the current date and time for tuProlog with the help of Roberta Calegari