cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • See how to interactively organize and restructure data for analysis. Register for May 29 webinar, 2pm US ET.

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