get_date
Entity: predicate

Usage:
get_date( Day / Month / Year )

Gets current date. The arguments have to be not-instantiated (to receive the date) or to contain a date information to be compared with the current date.

Example:

?- get_date(Day/Month/Year), Str is "Today is " + print(Day), write(Str), nl.

or:

?- get_date(Date), write("Today is "), write(Date), nl.
 

Look at examples:

 E-mail