Re: SQL with Dates
- From: David Kerber <ns_dkerber@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 11 Dec 2007 08:04:36 -0500
In article <7a2bf0ea-cb77-4a32-9dcc-
0bfceab98c1e@xxxxxxxxxxxxxxxxxxxxxxxxxxx>, thomas@xxxxxxxxxxxxxxxxx
says...
Thanks for the quick replies, i will try when i get home,
question to clarify, does that mean, all date formats have to be in
yyyy/mm/dd format.
That should be "-" between the sections, not "/".
Keep in mind that the display you see of a date field generally has
nothing to do with how it's stored internally. The only time you should
need to format your dates with 'yyyy-mm-dd' is when you are trying to
compare literal dates (in a query, etc) to data stored in the date
field. If you are comparing one date field to another, you can compare
them directly.
The application references a ODBC connection from a MYOB data file.
also can you help, i want to use a textbox to provide the date
intially how do i handle this.
Thanks guys.
--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
.
- References:
- SQL with Dates
- From: thomas
- Re: SQL with Dates
- From: David Kerber
- Re: SQL with Dates
- From: thomas
- SQL with Dates
- Prev by Date: Re: Connection String MySQL
- Next by Date: Re: VB6 Help
- Previous by thread: Re: SQL with Dates
- Next by thread: Re: SQL with Dates
- Index(es):
Relevant Pages
|