Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!rochester!uhura.cc.rochester.edu!aisl From: aisl@uhura.cc.rochester.edu (Lawrence Landry) Newsgroups: comp.sys.mac.hypercard Subject: Re: date Keywords: help date script Message-ID: <1744@ur-cc.UUCP> Date: 2 May 89 14:54:09 GMT References: <1814@blake.acs.washington.edu> Reply-To: aisl@uhura.cc.rochester.edu (Lawrence Landry) Distribution: usa Organization: University of Rochester Lines: 14 In article <1814@blake.acs.washington.edu> mm@blake.acs.washington.edu (Eric Gorr) writes: >Hello, I was wonding if anyone had a script, XMCD, etc.. that if I were to >tell it (format doesn't matter) 4/27/89 it would tell me that it was a >thursday. function weekDay theDate convert theDate to dateItems put item 7 of theDate into dayNumber put "Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday" into wk return item dayNumber of wk end weekDay Larry Landry University of Rochester