I need to extract dates from file names. The naming convention is usually a "letter" followed by the year, month, day, time..... I use a formula that is about as simplistic as my skills allow and it works except the dates all come out as 19xx.
File looks like this Z1501211630.22 the end characters are meaningless.
My formula looks something like this =DATE(MID(H2,2,2),MID(H2,4,2),MID(H2,6,2)) which works just fine for a short date 1/21/15 but I need a long date.
I am getting 1915 instead of 2015.
I'm missing something in my simplicity but what?
Bookmarks