it returns it in the correct "ddMonyyyy" format, but it has swapped month with day so instead of seeing 05May2018 it shows 05Sep2018.
From executing the script line by line I can see that when it converts the data type from string to numeric the value that gives a value of 3618950400, which corresponds to 05Sep2018, I believe this is due to jmp interpreting m/d/y as being the regional date and time settings (which I cannot change).
However if I go to change the Date columns format manually I can get the correct Date output
I can correct this by manipulating the string and swapping the day and month with one another but this is far from desireable.
Is there any other way of achieving this using JSL?