Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!sun-barr!rutgers!columbia!cunixc!cunixd.cc.columbia.edu!lih From: lih@cunixd.cc.columbia.edu (Andrew Lih) Newsgroups: comp.sys.mac.hypercard Subject: Sorting by Date in HyperCard Summary: How do you sort by date? Keywords: sort date Message-ID: <1881@cunixc.cc.columbia.edu> Date: 17 Sep 89 18:40:45 GMT Sender: news@cunixc.cc.columbia.edu Reply-To: lih@cunixc.cc.columbia.edu (Andrew Lih) Followup-To: comp.sys.mac.hypercard Distribution: usa Organization: Columbia University Lines: 31 Hi, I have a question regarding sorting in HyperCard. If I have a whole bunch of cards with a bkgd field that contains a date in short format (6/9/89, for example), what is the best way to sort this in chronological order? Is there a way in HyperCard or has anyone written an XCMD to do this? Also, some of the dates are in the format (6-9-89) and some are (6/9/89), what is the best way to convert the dashes to slashes? Am I going to have to write a script that does this? (ugh!) Thanks for the help! /lih ___________________________________________________________ """""""""" / \ | @ @ | | Andrew "Fuz" Lih Columbia University Center | < > > ___/ Academic Computing for Computing Activities | \ \__/ / <___ / \____/ \ lih@cunixc.cc.columbia.edu AJLUS@CUVMB.BITNET / \ lih@cs.columbia.edu ...rutgers!columbia!cunixc!lih | \__________________________________________________________/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= """"""" Andrew "Fuz" Lih Columbia University Center | @ @ | Instructional Computing for Computing Activities < ^ > \ - / lih@cunixc.cc.columbia.edu AJLUS@CUVMB.BITNET --- lih@heathcliff.cs.columbia.edu ...rutgers!columbia!cunixc!lih =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=