View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
[email protected] patf@well.com is offline
external usenet poster
 
Posts: 3
Default Convert int ccyymmdd to date(time)

Hi, our legacy system keeps dates in integers in form ccyymmdd.

I've long known how to convert, in Excel, a datetime to a number. One
example is:

=DATE(LEFT(A2,4),MID(A2,5,2),RIGHT(A2,2))

But looks as I may, I haven't found a way to convert a ccyymmdd int
into a datetime.

Oh also, I'm using Office 2007. The FORMAT function, which might (?)
have helped me, seems to have disappeared.

thanx - pat