Computing.Net > Forums > Office Software > Date and time conversion in excel

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Date and time conversion in excel

Reply to Message Icon

Name: Jeff
Date: April 3, 2003 at 21:36:52 Pacific
OS: Office XP
CPU/Ram: na
Comment:

I import dates and times from a database. The date imports as 010103 which is Jan 1 2003 and the time as 1200 which is 12:00pm. How can I get excel to do this conversion for me? I tried formatting the cell as date/time but it reads the 010103 as the serial number for a date from 1994. Any thoughts?




Sponsored Link
Ads by Google

Response Number 1
Name: taxi
Date: April 3, 2003 at 22:13:01 Pacific
Reply:

use date function : =date(year(left("cellref";2);month("cellref";...);day("cellref";...)) and u'll obtain wot u want. if sample needed, i send u mail


0
Reply to Message Icon

Related Posts

See More


Outlook 97 email (html / ... Slipstreaming Office 2000



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: Date and time conversion in excel

Excel Date and Time Calculation www.computing.net/answers/office/excel-date-and-time-calculation/8707.html

Negative time values in Excel www.computing.net/answers/office/negative-time-values-in-excel/5687.html

Creating a Time card in Excel www.computing.net/answers/office/creating-a-time-card-in-excel/8637.html