From: tmoran@acm.org
Subject: Re: "Value" function for Calendar.Time
Date: Thu, 19 Jun 2003 17:05:50 GMT
Date: 2003-06-19T17:05:50+00:00 [thread overview]
Message-ID: <O3mIa.73885$YZ2.244903@rwcrnsc53> (raw)
In-Reply-To: x7vhe6mo66z.fsf@galadriel.broadoak.portsmth.gecm.com
>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
next prev parent reply other threads:[~2003-06-19 17:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-19 7:52 "Value" function for Calendar.Time Simon Wright
2003-06-19 17:05 ` tmoran [this message]
2003-06-19 20:35 ` Simon Wright
2003-06-20 15:01 ` Peter Hermann
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox