BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Preventing date format being changed to dd/mm/yy

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
Martin Crowley
Guest





PostPosted: Tue Aug 26, 2003 12:11 pm    Post subject: Preventing date format being changed to dd/mm/yy Reply with quote



Hello,

I'm using Borland Builder Ver 5, MySQL Version 4.0.12 with myodbc3.dll.

When I issue the query 'select curdate()' from a query object in Borland and
display it in a edit box, it gets displayed in
UK format. I actually want to retain the US "2003-08-31" format.
If I issue this select statement directly in SQL I get the US format.
I wondered if this was to do with BDE format settings (ie. there is a date
format option). I tried changing this but it didn't make any difference?
Can anyone help please?

Thanks,

Martin.



Back to top
Martin Crowley
Guest





PostPosted: Wed Aug 27, 2003 12:22 am    Post subject: Re: Preventing date format being changed to dd/mm/yy Reply with quote



Resent, as it appeared to vanish from the group.

"Martin Crowley" <martin (AT) 2oriel (DOT) freeserve.co.uk> wrote

Quote:
Hello,

I'm using Borland Builder Ver 5, MySQL Version 4.0.12 with myodbc3.dll.

When I issue the query 'select curdate()' from a query object in Borland
and
display it in a edit box, it gets displayed in
UK format. I actually want to retain the US "2003-08-31" format.
If I issue this select statement directly in SQL I get the US format.
I wondered if this was to do with BDE format settings (ie. there is a date
format option). I tried changing this but it didn't make any difference?
Can anyone help please?

Thanks,

Martin.







Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.