Code "Snippets" - Get System Date and Time

Copyright © January, 2007 SuzShook

sample image

dot   Script Summary:

The purpose of this script is to provide code "snippets" to show you how to extract date and time information from the system in a script. For example, you might want to retrieve the system's time stamp as documentation on a tag along with your watermark. There are several ways to do this - for this instructional script, I've chosen what I think is the most complete method, which involves calling the Python "time" module and using the built-in "strftime" function to extract and format the data.

dot   Installation Instructions:

Download the script - this script runs from any Restricted folder, including its own Quick Guide folder.

dot   Change History:

  • 00 - original version