> Script Details
Add Date, Time & File Name Stamp to Layout
report inappropriate content
Add Date and Time.zip
Jan 10 2005
Status of work
ArcScripts is intended for the free exchange of scripts and tools related to ESRI software products. Please alert the moderator if this script is a demo, trial-version, or an advertisement for a retail product.
Similar to other scripts posted, my scripts adds both a date and time to a layout. It also adds the file path and file name on a second line. My script works a little different. No message boxes or duplicate stamps. Only the date, time, and file info will be added. And it is a Button control, Not a Tool control.
Go through the process of adding the button and code in the text file instructions and you'll be able to use this feature.
First use of the tool on a new layout will add a textbox with the info to the center of the screen, wherever you are zoomed into. You can manipulate the properties and it's location as long as there is a date in the text box.
Click the button again and the information is automatically updated.
Text will appear like this:
Tuesday, January 1, 2004 12:00:00 AM
One more perk, it is open source so you can manipulate the code to your liking.
Original Post - 6/4/03
Updated Post - 12/16/03, 3/5/04, 11/15/04, 1/10/05