A certain bank (OK, Chase) formats its downloadable .csv file line item dates as text, like this:
1) "20090309120000[0:GMT]"
This example (1) translates as 2009 (year), 03 (month), 09 (day), 12:00 (hours:minutes), 00 (seconds) [0:GMT] (Greenwich Mean Time).
Using "Text to Columns", this can automatically be stripped and parsed as:
2) "3/9/2009"
The problem is, this is just a dead string of characters, rather than an encoded Julian Day Number , such as:
3) "39881"
While dead character strings like (2) can be sorted to obtain ascending values, etc., they cannot be arithmetically co-mingled with other real date values in Excel. Is there a simple way to get from (2) to (3), in a way that can be automated with VBA?
Thank you,
Peter L.
1) "20090309120000[0:GMT]"
This example (1) translates as 2009 (year), 03 (month), 09 (day), 12:00 (hours:minutes), 00 (seconds) [0:GMT] (Greenwich Mean Time).
Using "Text to Columns", this can automatically be stripped and parsed as:
2) "3/9/2009"
The problem is, this is just a dead string of characters, rather than an encoded Julian Day Number , such as:
3) "39881"
While dead character strings like (2) can be sorted to obtain ascending values, etc., they cannot be arithmetically co-mingled with other real date values in Excel. Is there a simple way to get from (2) to (3), in a way that can be automated with VBA?
Thank you,
Peter L.