Number: 1809 Date: 10-Aug-84 16':06':18 Submitter: Sannella.PA Source: AHenderson.pa Subject: Want system function to parse date Lisp Version: Description: ' Date': 18 Jul 84 14':02 PDT' From': AHenderson.pa' Subject': Lisp': Date Package' To': LispSupport.pa' cc': AHenderson.pa' ' Lisp System Date': 10-Jun-84 18':41':09' Machine': Dorado (AHenderson)' Microcode version': 24,4' Memory size': 10000' Frequency': ??' Impact': ??' ' Is there a system function which computes the day of the week, given a date. Or more generally, is there a general "date" package which will return from a date':' ' minutes ' hours (12 and 24)' am/pm' day' day of the week' dayu of year' month (long form and short form)' year' ' APROPOS said nothing. DATETIME seems like overkill.' ' Austin' ' -----' ' Date': 19 Jul 84 14':25 PDT' Sender': Sannella.pa' Subject': Re': Date Package' To': AHenderson.pa' cc': LispSupport.pa' From': LispSupport.pa' Reply-To': LispSupport.pa' ' I forwarded your message to LispCore^, and received the following reply. I hope that this is of some help.' ' Note that this describes an internal "\"-function, which we are not commited to maintain.' ' ----- Begin Forwarded Messages -----' ' Date': 19 Jul 84 13':13 PDT' From': vanMelle.pa' Subject': Re': Are there any hooks to internal date functions?' In-reply-to': LispSupport.pa''s message of 19 Jul 84 11':40':53 PDT (Thursday)' To': LispSupport.pa' cc': LispCore^.pa' ' The closest we have is (\UNPACKDATE D), which given a numeric date D (such as produced by IDATE) returns a list (year month dayOfMonth hour minute seconds daylightsavingsp), with all values except daylightsavingsp being numbers, month in [0..11] and hour in [0..23]. The function computes the day of the week internally (in order to compute daylightsavingsp), but does not produce it; it could easily be modified to do so.' ' Seems like a tiny bit of cleaning up on this would produce a reasonable user-accessible function.' ' Bill' ' ----- End Forwarded Messages -----' Workaround: Test Case: Edit-By: Edit-Date: Attn: Lisp Assigned To: In/By: Disposition: System: Language Support Subsystem: Other Machine: Disk: Microcode Version: Memory Size: File Server: Server Software Version: Difficulty: Moderate Frequency: Impact: Moderate Priority: Perhaps Status: Open Problem Type: Design - Impl Source Files: