Re: ADO, ShortDateFormat and Terminal Services/Citrix
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Fri, 23 May 2008 18:00:16 -0400
Isaac Alexander wrote:
So why don't you format them to be that way? Why are you depending on whatIt gets it from the Registry Regional Settings.
It's a mistake to have varying date formats. Formats should only be
involved when displaying dates to users. You should not be leaving
it up to ADO to properly interpret the dates provided by your
program. Users should be provided controls (calendar controls) to
allow them to supply dates to you in a standard format. Dates being
handled in your program should be format-insensitive: e.g., VB uses
doubles to represent date-times.
Thank you for you comments, but my app isn't changing the
ShortDateFormat, it's simply reading it. All date show up in whatever
format the regional settings show.
The reason it matters is because locallized filter strings need to be
in short date format (at least with Delphi).
the machine's settings are?
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
.
- Follow-Ups:
- Re: ADO, ShortDateFormat and Terminal Services/Citrix
- From: Isaac Alexander
- Re: ADO, ShortDateFormat and Terminal Services/Citrix
- References:
- ADO, ShortDateFormat and Terminal Services/Citrix
- From: Isaac Alexander
- Re: ADO, ShortDateFormat and Terminal Services/Citrix
- From: Bob Barrows [MVP]
- Re: ADO, ShortDateFormat and Terminal Services/Citrix
- From: Isaac Alexander
- ADO, ShortDateFormat and Terminal Services/Citrix
- Prev by Date: Re: ADO, ShortDateFormat and Terminal Services/Citrix
- Next by Date: Re: ADO, ShortDateFormat and Terminal Services/Citrix
- Previous by thread: Re: ADO, ShortDateFormat and Terminal Services/Citrix
- Next by thread: Re: ADO, ShortDateFormat and Terminal Services/Citrix
- Index(es):
Relevant Pages
|