How to get file created file stamp?I have some data in .csv which I analyse in JMP and generate graphs using graph builder.
I want to display the time file was created on the graph window.
How can I do this?
I used fomat(Creation date("filepath"),"ddmmyy:h:m:s");
But doesnt seem to work.
Re: How to get file created file stamp?I think your format string is wrong. You need to use one of the strings shown in the Time formats in the Column Info dialog.
//:*/
date = Creation date("~/Desktop/Screen captures/45552.gif");
formatted = format( date,"d/m/y h:m:s");
show(formatted);
/*:
formatted = "05/10/2017 9:32:03 PM";

Re: How to get file created file stamp?What did it do? Is there any message in the log?
You can break this down into two simpler questions like this:
date = Creation date("filepath");
show(date);
formatted = format( date,"ddmmyy:h:m:s");
show(formatted);
then look in the log. You might get a simple error message, or you might get a missing value for date or formatted. I'd be a little suspicious of the format string (too many colons?), but I'm away from my desk and can't try it.