cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
StefanC
Level III

How do I add a time stamp when printing a data table?

I want to add a time stamp to a print of my data table. I know how to add the date with the &d; option in Page Setup. Is there a way to also add the time?

1 ACCEPTED SOLUTION

Accepted Solutions
Craige_Hales
Super User

Re: How do I add a time stamp when printing a data table?

I don't see how to get the time in the print header either. You could get it on the first page like this

dt = currentdatatable();
textbox(format(today(),"Locale Date Time h:m:s", 23, 0))<<journal;
dt<<journal;

currentjournal()<<savepdf("$temp/test.pdf");
currentjournal()<<closewindow;

open("$temp/test.pdf")

Good wish list item.

 

edit: you'll want to deselect any selected columns and rows if you want everything printed, and you'll want to start with an empty journal.

Craige

View solution in original post

1 REPLY 1
Craige_Hales
Super User

Re: How do I add a time stamp when printing a data table?

I don't see how to get the time in the print header either. You could get it on the first page like this

dt = currentdatatable();
textbox(format(today(),"Locale Date Time h:m:s", 23, 0))<<journal;
dt<<journal;

currentjournal()<<savepdf("$temp/test.pdf");
currentjournal()<<closewindow;

open("$temp/test.pdf")

Good wish list item.

 

edit: you'll want to deselect any selected columns and rows if you want everything printed, and you'll want to start with an empty journal.

Craige

Recommended Articles