PC Review


Reply
Thread Tools Rate Thread

How do I change the FORMAT of a date in Access 2003?

 
 
=?Utf-8?B?UmhlYVM=?=
Guest
Posts: n/a
 
      19th Jun 2006
I need to change the actual format of a date in Access 2003 from mm/dd/yy to
yyy/mm/dd, not just the appearance of the date.

Got any suggetsions?
 
Reply With Quote
 
 
 
 
fredg
Guest
Posts: n/a
 
      19th Jun 2006
On Mon, 19 Jun 2006 14:32:02 -0700, RheaS wrote:

> I need to change the actual format of a date in Access 2003 from mm/dd/yy to
> yyy/mm/dd, not just the appearance of the date.
>
> Got any suggetsions?


I don't quite understand your question since both mm/dd/yy and
yyy/mm/dd are date formats (which is just the appearance of the date,
not how it is stored).

Today is actually stored, in Access, as 38887.
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
 
Reply With Quote
 
=?Utf-8?B?S0FSTCBERVdFWQ==?=
Guest
Posts: n/a
 
      19th Jun 2006
Seeing as how format is appearance I assume you want the date to be text.

Format([YourDateField],"yyyy") & "/" & Format([YourDateField],"mm") & "/" &
Format([YourDateField],"dd")

And I am also assuming you meant "yyyy" instead of "yyy". If you realy ment
"yyy" then it would be like ---
Right(Format([YourDateField],"yyyy"),3) & "/" & Format([YourDateField],"mm")
& "/" & Format([YourDateField],"dd")

"RheaS" wrote:

> I need to change the actual format of a date in Access 2003 from mm/dd/yy to
> yyy/mm/dd, not just the appearance of the date.
>
> Got any suggetsions?

 
Reply With Quote
 
Joseph Meehan
Guest
Posts: n/a
 
      20th Jun 2006
RheaS wrote:
> I need to change the actual format of a date in Access 2003 from
> mm/dd/yy to yyy/mm/dd, not just the appearance of the date.
>
> Got any suggetsions?


Format is a display function, not a storage function. Access stores
dates as a simple number with no formatting.

--
Joseph Meehan

Dia duit


 
Reply With Quote
 
Joseph Meehan
Guest
Posts: n/a
 
      20th Jun 2006
RheaS wrote:
> I need to change the actual format of a date in Access 2003 from
> mm/dd/yy to yyy/mm/dd, not just the appearance of the date.
>
> Got any suggetsions?


Format is a display function, not a storage function. Access stores
dates as a simple number with no formatting.

--
Joseph Meehan

Dia duit


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i change the date format in access to be short date? =?Utf-8?B?U2hhbmE=?= Microsoft Access Getting Started 5 25th Jan 2009 12:41 PM
Change Date Format in MS-Access Charless Mohan Microsoft Access Queries 0 7th Jan 2009 07:51 AM
Excel 2003 can you change the header date format? =?Utf-8?B?bGRlZG1vbg==?= Microsoft Excel Misc 0 7th Mar 2007 06:11 PM
Change file format to Access 2002-2003 format =?Utf-8?B?QW5kcmVhc00=?= Microsoft Access 3 19th Feb 2005 11:11 PM
Change format of a date in an access table Sally Microsoft Access Getting Started 2 3rd Mar 2004 08:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:23 PM.