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,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2c14e9c4fe99a4f6,start X-Google-Attributes: gid103376,public Path: g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!feed.news.tiscali.de!news.belwue.de!news.tesion.net!news.ip-plus.net!newsfeed.ip-plus.net!news.admin.ch!10.158.136.170 From: "Roger Blum" Newsgroups: comp.lang.ada Subject: ADA.CALENDAR.TIME_OF problem with cygwin gcc-ada Date: Fri, 18 Jun 2004 18:04:16 +0200 Organization: Swisscom IP+ (post doesn't reflect views of Swisscom) Message-ID: <40d31280@news.admin.ch> NNTP-Posting-Host: doz.admin.ch X-Trace: atlas.ip-plus.net 1087574796 19534 193.5.216.70 (18 Jun 2004 16:06:36 GMT) X-Complaints-To: abuse@ip-plus.net NNTP-Posting-Date: Fri, 18 Jun 2004 16:06:36 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Xref: g2news1.google.com comp.lang.ada:1666 Date: 2004-06-18T18:04:16+02:00 List-Id: Hi everybody, I 'd like to use the function TIME_OF in the package ADA.CALENDAR to convert a date/time (string format from database "DD.MM.YYYY HH:MI:SS") to a TIME type in order to calculate intervals between dates etc. Although I call the TIME_OF function with correct input, it raises a CONSTRAINT ERROR (I'm using gcc-ada from cygwin). Anybody any idea what the problem is and how I can solve it? Thanks. Roger