How do I convert dates in Excel?

  • Thread starter Thread starter Guest
  • Start date Start date
If the date is in A1 try:

=--TEXT(LEFT(A1,14),"0000-00-00 00\:00\:00")

and format the result in mm/dd/yyyy date format.
 
=DATE(LEFT(A21,4),MID(A21,5,2),MID(A21,7,2))

and format to the required date format.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
u could try using activecell.value=format(activecell.value,mm/dd/yyyy)
or as ur requirement is the normal date format u could just save the value
to a variable declared as date and store it again in the destination cell
regards
nc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Convert dates stored as text 2
convert Julian date to DD/MM/YYYY 7
Excel 2002: How to make the date format uniform ? 1
convert date 1
Separating Date and Time 4
Date format troubles 5
date format problem 1
date 1

Back
Top