Hi,
I need to create a Date field in a data set imported into JMP. In the original data, the date is embedded in the date-time format YYYYMMDDhhhhmmss. I wrote the following simple formula and attached it to a new column:
Munger(:DATE, 0, 8).
The result looks OK but when I change the column format Numeric > Continuous > Date > yyyymmdd, the values change to the format “1904….”.
I thought maybe I need to first convert the data type to numeric, so I added Num to my formula: Num(Munger(:DATE, 0, 8)). It still didn’t work.
I tried the ‘workaround’ in Knowledgebase Note 6149 for both cases (with and without 'Num')—it still didn’t work.
I'm using JMP 10.
What am I missing? How do I get JMP to treat the result of my formula as the correct date?