From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,75a1e6710e24c4df X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-19 10:05:51 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newshub.sdsu.edu!elnk-pas-nf2!newsfeed.earthlink.net!wn14feed!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc53.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: "Value" function for Calendar.Time References: X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 12.234.13.56 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc53 1056042350 12.234.13.56 (Thu, 19 Jun 2003 17:05:50 GMT) NNTP-Posting-Date: Thu, 19 Jun 2003 17:05:50 GMT Organization: AT&T Broadband Date: Thu, 19 Jun 2003 17:05:50 GMT Xref: archiver1.google.com comp.lang.ada:39453 Date: 2003-06-19T17:05:50+00:00 List-Id: >Does anyone have code to convert a textual representation of a >date/time to an Ada.Calendar.Time? www.adapower.com/os/notify.zip has code for an HTTP client. In http.adb therein you'll find: function Full_Date(Source : String) return Ada.Calendar.Time is -- scan an RFC 1123 Sun, 06 Nov 1994 08:49:37 GMT -- or 850(obsolete) Sunday, 06-Nov-94 08:49:37 GMT -- Full Date and return as Ada.Calendar.Time