473,406 Members | 2,390 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,406 software developers and data experts.

Format Date in Access 2007?

hi there,

I have a field called DateEnacted (data type :date/time)

could anyone tell me how can i change the format to dd/mm/yyyy , when i enter values in the table, instead of mm/dd/yyyy?

thanks,
Kathy
Sep 19 '07 #1
9 27976
MMcCarthy
14,534 Expert Mod 8TB
hi there,

I have a field called DateEnacted (data type :date/time)

could anyone tell me how can i change the format to dd/mm/yyyy , when i enter values in the table, instead of mm/dd/yyyy?

thanks,
Kathy
Open the table in design view. Go to the format property and replace whatever is there (presumably shortdate) with dd/mm/yyyy
Sep 19 '07 #2
Open the table in design view. Go to the format property and replace whatever is there (presumably shortdate) with dd/mm/yyyy

Hi,

I have selected the Short Date but the problem persist with the default settings.

the Short Date in ms access 2007 is mm/dd/yyyy format unlike in ms access 2003. i wanted that to be changed to dd/mm/yyyy

that is were i am getting the problem.

I do not know how to change the format!!!

thanks,
Kathy
Sep 20 '07 #3
MMcCarthy
14,534 Expert Mod 8TB
Hi,

I have selected the Short Date but the problem persist with the default settings.

the Short Date in ms access 2007 is mm/dd/yyyy format unlike in ms access 2003. i wanted that to be changed to dd/mm/yyyy

that is were i am getting the problem.

I do not know how to change the format!!!

thanks,
Kathy
Read my post again. I said replace short date with dd/mm/yyyy
Sep 20 '07 #4
Read my post again. I said replace short date with dd/mm/yyyy
mccarthy, i've selected the short date for my date field.

in access 2003 , it will be like, short date (dd/mm/yyyy)

but in access 2007, it is like short date (mm/dd/yyyy)

as i am using ms access 2007, i do not know how to change the format like in access 2003?
could you please explain me how to do this??


regards,
kathy
Sep 21 '07 #5
MMcCarthy
14,534 Expert Mod 8TB
DON'T select short date.

Just put dd/mm/yyyy in the format property

I don't know how else to explain this.
Sep 21 '07 #6
Twanne
65
I do --> get someone who can read english :D

Sry to be so abrupt but Mc is right. Just replace the property value to whatever you want. (dd/mm/yyyy)

If you are having trouble because it isn't inserted right, use the function DateSerial(year,month,day). It places a date in any sort of date field in the correct order.

Greetz
Twanne

Über, über, upper sounds better.
Sep 21 '07 #7
I do --> get someone who can read english :D

Sry to be so abrupt but Mc is right. Just replace the property value to whatever you want. (dd/mm/yyyy)

If you are having trouble because it isn't inserted right, use the function DateSerial(year,month,day). It places a date in any sort of date field in the correct order.

Greetz
Twanne

Über, über, upper sounds better.

guys,

i do understand wat u r trying 2 say...

the format only works for a new table. say if i have a table with no records, and if i format the date field as dd/mm/yyy, it works good.


but i have 100 records in the table (import from another database) and if i format the date, it doesnt works. it still remains as mm/dd/yyyy.

i feel sorry if this reply frustrates anyone.

regards,
Kathy
Sep 25 '07 #8
MMcCarthy
14,534 Expert Mod 8TB
guys,

i do understand wat u r trying 2 say...

the format only works for a new table. say if i have a table with no records, and if i format the date field as dd/mm/yyy, it works good.


but i have 100 records in the table (import from another database) and if i format the date, it doesnt works. it still remains as mm/dd/yyyy.

i feel sorry if this reply frustrates anyone.

regards,
Kathy
OK that is different. You want to change the existing records. To do that create an update query as follows:

UPDATE TableName SET DateField = Format([DateField], "dd/mm/yyyy")

See if that works for you.

Mary
Sep 25 '07 #9
OK that is different. You want to change the existing records. To do that create an update query as follows:

UPDATE TableName SET DateField = Format([DateField], "dd/mm/yyyy")

See if that works for you.

Mary
thanks MC...

alas, i got it right..

thanks for being so hepful...

chuz,

Kathy
Sep 26 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: veaux | last post by:
I'm thinking this is easy but can't get it. I have a table with following: Table1 Date 1/1/2007 Table2 Type 0107 (This is MMYY of above) So I'm having trouble using a query to turn the...
3
by: Deano | last post by:
I'm just about to go mad! I'm using the code written by Arvin Meyer, a function called WorkingDays2 as retrieved from the Access Web. It's very good but when I refer to tblHolidays to check...
1
by: nagi28 | last post by:
Hi All, I am executing a select query which involve join between three tables through jdbc. I am using MS-ACCESS as database. This query needs to get the data based on some conditions on date...
5
by: buntyindia | last post by:
There is a textbox in which date can be inserted manually or through calendar widget. format is "2007-12-05 12:12:0000" I have to write a script that Identify that the date if entered manually is...
2
by: siva33 | last post by:
i am getting problem with the date. i will explain my problem detailed. plz solve for me, plzzz send me the code if possible aspx file and aspx.vb file i have taken a text box to enter the date...
4
xstatic
by: xstatic | last post by:
After searching through the hundreds of links about "Javascript Date Formatting", all I am finding is how to format dates that gives a "current date" result. Here is what I need... I have a...
3
by: veaux | last post by:
The date format mmddyyyy is common but I realize it's not a standard format in Access. There must be a simple way to provide this format to Access so it treats it as a date? In past, I play with...
1
by: BulbFresh | last post by:
Hi, Quick one for you, i'm importing a file which has a long date and time format, so once imported i update each date field with the correct format (dd/mm/yyyy). I wrote this in on click of a...
2
by: shannonwhitty | last post by:
I am able to extract dates in the correct format i.e. SELECT CONVERT(VARCHAR(8), GETDATE(), 3) =dd/mm/yy My issue is that my users are selecting a date in this format and I need to select...
5
by: nsbecker | last post by:
Hi - I've got an interesting one here: I've got an mdb file that some users run in Access 2003 and some in 2007. I have a Localize function that is called on the open of each form to set the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.