Article View: borland.public.jbuilder.java.api
Article #1438Inserting Dates
From: Omar Malik
Date: Mon, 21 Jan 2002 13:10
Date: Mon, 21 Jan 2002 13:10
8 lines
1178 bytes
1178 bytes
Hello I am using JBuilder 5 and am running into a problem with adding dates to the database. I am using an SQL insert statement and I have tried every format to enter a date into the JDataStore. The format is supposed to be mm/dd/yy and I tried to insert date like '08/12/01' but it gives me the error cannot assign string to a date. How can I force a date to be inserted. Please help thanks
Technical Details
Message-ID:
<3c4c135f$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,7dd655b3c5034c0a,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-01-21 05:14:55 PST From: Omar Malik <omalik1@ford.com> Newsgroups: borland.public.jbuilder.java.api X-Newsreader: AspNNTP 1.50 (aewnet.com) Subject: Inserting Dates Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable NNTP-Posting-Host: 63.161.67.199 Message-ID: <3c4c135f$1_1@dnews> Date: 21 Jan 2002 05:10:55 -0800 X-Trace: dnews 1011618655 63.161.67.199 (21 Jan 2002 05:10:55 -0800) Lines: 8 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews