How to compute weekday?

Anthony Mak <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Organization National ICT Australia (Canberra office)
Message-ID <[email protected]>
How can I compute weekday (Monday,Tuesday,....) from a date, say a 
gprolog DateTime structure dt(Year,Month,Day,Hour,Minute,Second)?

Does gprolog has any predicate or function to do this or do I have to 
write my own to do this?

Thanks everybody.

Anthony Mak
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.