473,395 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

US/UK dates problem

Hi

I've just started having some problems with my coded queries. They had
been working fine but all of a sudden they seem to have started needing
US style dates eg mm/dd/yyyy.

When i build a query using the designer i can enter UK dates and it
works fine, however, if you look at SQL view it has actually changed
them to US style dates.

I dont think the system date could have changed as its a work computer
and we dont have access to the control panel....

Any ideas.
Thanks a lot
Paul

Jun 30 '06 #1
2 2372
See:
International Date Formats in Access
at:
http://allenbrowne.com/ser-36.html

The article explains how Access uses your Regional Settings in the
interface, but expects the American format delimited with # for literal
dates in SQL statements and VBA. Also identifies the 3 cases where Access is
likely to misunderstand your dates.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

<pa************@hotmail.com> wrote in message
news:11**********************@h44g2000cwa.googlegr oups.com...

I've just started having some problems with my coded queries. They had
been working fine but all of a sudden they seem to have started needing
US style dates eg mm/dd/yyyy.

When i build a query using the designer i can enter UK dates and it
works fine, however, if you look at SQL view it has actually changed
them to US style dates.

I dont think the system date could have changed as its a work computer
and we dont have access to the control panel....

Any ideas.
Thanks a lot
Paul

Jun 30 '06 #2
Thanks a lot Allen, i could have spent hours trying to figure that
out... seems slightly ridiulous that thats the case though
Allen Browne wrote:
See:
International Date Formats in Access
at:
http://allenbrowne.com/ser-36.html

The article explains how Access uses your Regional Settings in the
interface, but expects the American format delimited with # for literal
dates in SQL statements and VBA. Also identifies the 3 cases where Access is
likely to misunderstand your dates.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

<pa************@hotmail.com> wrote in message
news:11**********************@h44g2000cwa.googlegr oups.com...

I've just started having some problems with my coded queries. They had
been working fine but all of a sudden they seem to have started needing
US style dates eg mm/dd/yyyy.

When i build a query using the designer i can enter UK dates and it
works fine, however, if you look at SQL view it has actually changed
them to US style dates.

I dont think the system date could have changed as its a work computer
and we dont have access to the control panel....

Any ideas.
Thanks a lot
Paul


Jun 30 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: F | last post by:
Hi I have posted the question few days back about problem in inserting the dates in SQL server and thankful to them who replied. That was solved and this is a nice solution....
5
by: PW | last post by:
<rant> Sorry guys, but I just have to whinge. Dates in ASP are a total pain in the butt! I seem to get caught out so many times. I realise its my own fault, but going from the posts in this...
7
by: Bambero | last post by:
Hello all Problem like in subject. There is no problem when I want to count days between two dates. Problem is when I want to count years becouse of leap years. For ex. between 2002-11-19...
7
by: smcgouga | last post by:
Visual Basic 6. ADO 2.8 I have an as400 DB2 V5R1 datasource. Dates are defined as *ISO format and have a range from '0001-01-01' to '9999-12-31'. I am trying to update a date field on the...
3
by: SJH | last post by:
I currently have reports (mostly graphs) that utilize dates entered into a form. The dates are pretty baisc from the standpoint of the start and end of the current fiscal year, the start and end...
1
by: Likhith Areekkal | last post by:
Hi, Language: C#, asp .net application This is a room reservations web application. I have two Calendars on my website: Calendar1 & Calendar2 Calendar1 shows the current month and Calendar2...
12
by: Dixie | last post by:
I am trying to calculate the number of workdays between two dates with regards to holidays as well. I have used Arvin Meyer's code on the Access Web, but as I am in Australia and my date format is...
2
by: Jim Carlock | last post by:
(1) Does PHP provide any way to handle dates prior to 1980? I know there's problems with Microsoft Windows NT and all Windows NT operating systems will allow a date prior to 1980 to be placed...
5
by: jorgedelgadolopez | last post by:
Hi all, I am using the xpathnavigator evaluate function on .net (xpath 1 right?). Now I need to expand the code to do multiple contains, compare dates (such as 'before', 'between' and 'after'),...
5
by: Dave | last post by:
Hello, I have a possible problem exporting a text field that happens to contain dates (but is not a date field) when using TransferText in MS Access 2000. I am exporting a query to a text...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.