Hello,
I reviewed several posts to address this same issue, and am still running into the column getting converted back to character "to match the formula" , per comments in the log file.
I have a table with a Date column "New Date" in string format with entries in the format "MM/DD/YYYY"
I tried to apply your solution to this column:
dt << New Column ("Date2", Numeric, "Continuous",
Formula ( Date MDY(Num( Substr( :New_Date, 1, 2 ) ),
Num( Substr( :New_Date, 4, 2 ) ),
Num( Substr( :New_Date, 7, 4 ) ))));
Which creates a numeric date column with the standard JMP date format in seconds (e.g. "3651955200") for 9/22/2019.
I then created another column to convert it to a standard date format:
dt << New Column ("Date3", Numeric, "Continuous", Formula ( Abbrev Date(Date2)));
But running this just converted the data back to character format when I ran it...
Column "Date3" changed to type Character to match formula.
Can you help with the correct conversion procedure?
I am running out of options to try...
Thanks for any help you can provide.
-Jens