A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Importing and storing a different date format



 
 
Thread Tools Display Modes
  #1  
Old November 2nd, 2004, 01:25 PM
Jim T
external usenet poster
 
Posts: n/a
Default Importing and storing a different date format

I am importing a number of tables from another system that has a large number
of date fields in each file with a format of CCYY-MM-DD. I would like to
store and display the fields in this format but have the field a date field
for calculation purposed (e.g. dateadd etc).

Is there a way to create a data type as a date field with the CCYY-MM-DD
format so the type can be selected when defining in the table create phase so
the fields do not have to be formatted each time (so the CCYY-MM-DD would
appear as a format, like Short Date, in the format drop down list in the
field define screen)?

Or is there better alternatives to the above?

--
Thanks...
Jim Tinder
  #2  
Old November 2nd, 2004, 01:45 PM
[MVP] S.Clark
external usenet poster
 
Posts: n/a
Default

Dates are stored as dates.

How you choose to display that date is under your control. You can use the
Format property in the table, on a form, in a report, or if you can, the
Regional Settings of Windows.

--
Steve Clark, Access MVP
FMS, Inc.
www.fmsinc.com/consulting

"Jim T" wrote in message
...
I am importing a number of tables from another system that has a large

number
of date fields in each file with a format of CCYY-MM-DD. I would like to
store and display the fields in this format but have the field a date

field
for calculation purposed (e.g. dateadd etc).

Is there a way to create a data type as a date field with the CCYY-MM-DD
format so the type can be selected when defining in the table create phase

so
the fields do not have to be formatted each time (so the CCYY-MM-DD would
appear as a format, like Short Date, in the format drop down list in the
field define screen)?

Or is there better alternatives to the above?

--
Thanks...
Jim Tinder



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Date Function with literal date does not resolve True Cam Worksheet Functions 6 April 30th, 2004 04:02 PM


All times are GMT +1. The time now is 07:19 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.