Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
5
Task/Date-format/Prolog/date-format.pro
Normal file
5
Task/Date-format/Prolog/date-format.pro
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
display_date :-
|
||||
get_time(Time),
|
||||
format_time(atom(Short), '%Y-%M-%d', Time),
|
||||
format_time(atom(Long), '%A, %B %d, %Y', Time),
|
||||
format('~w~n~w~n', [Short, Long]).
|
||||
Loading…
Add table
Add a link
Reference in a new issue