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 13:36:09 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: "Value" function for Calendar.Time Date: 19 Jun 2003 21:35:21 +0100 Organization: Pushface Sender: simon@smaug.pushface.org Message-ID: References: NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1056054967 27435 62.49.19.209 (19 Jun 2003 20:36:07 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Thu, 19 Jun 2003 20:36:07 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: archiver1.google.com comp.lang.ada:39459 Date: 2003-06-19T21:35:21+01:00 List-Id: tmoran@acm.org writes: > >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 Thanks!