Microsoft Office Forums


Reply
Thread Tools Display Modes

How to convert Excel serial date into Access date format?

 
 
RADO
Guest
Posts: n/a

 
      12-24-2003, 06:29 AM
Hi all,

I am importing a file from Excel (2002), which contains dates in Excel
internal format (ie., 37973). How do I make them look like "12/19/2003" in
Access?

Thanks!

RADO


 
Reply With Quote
 
 
 
 
Douglas J. Steele
Guest
Posts: n/a

 
      12-24-2003, 11:21 AM
All you should have to do is format them.

That number (37973) represents the number of days since 30 Dec, 1899: it's
how dates are stored in VBA.

?Format$(37973, "yyyy-mm-dd")
2003-12-18


--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(No private e-mails, please)



"RADO" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi all,
>
> I am importing a file from Excel (2002), which contains dates in Excel
> internal format (ie., 37973). How do I make them look like "12/19/2003" in
> Access?
>
> Thanks!
>
> RADO
>
>



 
Reply With Quote
 
RADO
Guest
Posts: n/a

 
      12-27-2003, 11:14 AM
Thanks, Doug - Happy Holidays!


"Douglas J. Steele" <NOSPAM_djsteele@NOSPAM_canada.com> wrote in message
news:(E-Mail Removed)...
> All you should have to do is format them.
>
> That number (37973) represents the number of days since 30 Dec, 1899: it's
> how dates are stored in VBA.
>
> ?Format$(37973, "yyyy-mm-dd")
> 2003-12-18
>
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (No private e-mails, please)
>
>
>
> "RADO" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi all,
> >
> > I am importing a file from Excel (2002), which contains dates in Excel
> > internal format (ie., 37973). How do I make them look like "12/19/2003"

in
> > Access?
> >
> > Thanks!
> >
> > RADO
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
serial date to dd/mm/yy format andrew-k Project Newsgroup 2 06-24-2008 05:17 PM
using formula, how to convert number to date format? Vishal Somani Infopath Newsgroup 4 08-07-2007 05:10 AM
Convert Date given by outlook api to java date amit deshpande Outlook Newsgroup 0 06-26-2006 02:24 PM
In Project, set Default Date format to be Date/Time so that you c. DaveWhite Project Newsgroup 1 02-07-2005 12:53 PM
Convert Date Field From Excel Import Karl Burrows Access Newsgroup 5 12-24-2003 06:29 AM



All times are GMT. The time now is 02:10 PM.