Version Differences for Stamping

Line 1:
    + This page lists stamping scripts listed in the scripting site. These scripts were taken straight from the public JIRA site. Please note that some scripts may be snippets and probably WILL need modification to work properly for your situation. Treat these as templates that you can modify from.  
       
    + = Stamping w/Time Stamp =  
       
    + Script Notes:  
    + * This script goes in System --> Stamping  
       
    + ==== AHPSCRIPTS-6 ====  
       
    + <pre>import com.urbancode.vcsdriver3.*;  
    + import com.urbancode.anthill3.runtime.scripting.helpers.*;  
    + import java.text.SimpleDateFormat;  
       
    + SimpleDateFormat timestampformat = new SimpleDateFormat("yyyyMMddHHmmss");  
       
    + buildLife = BuildLifeLookup.getCurrent();  
    + checkoutDate = buildLife.getActualWorkspaceDate();  
       
    + stamp = timestampformat.format(checkoutDate);  
       
    + stampContext.put("timestamp", ""+stamp);</pre>