classes/phing/tasks/system/TstampTask.php
public function main()
    {
        $d = $this->getNow();

        foreach ($this->customFormats as $cf) {
            $cf->execute($this, $d, $this->getLocation());
        }

        $dstamp = strftime('%Y%m%d', $d);
        $this->prefixProperty('DSTAMP', $dstamp);

        $tstamp = strftime('%H%M', $d);
        $this->prefixProperty('TSTAMP', $tstamp);

        $today = strftime('%B %d %Y', $d);
        $this->prefixProperty('TODAY', $today);
    }
public function main()
    {
        $d = $this->getNow();

        foreach ($this->customFormats as $cf) {
            $cf->execute($this, $d, $this->getLocation());
        }

        $dstamp = strftime('%Y%m%d', $d);
        $this->prefixProperty('DSTAMP', $dstamp);

        $tstamp = strftime('%H%M', $d);
        $this->prefixProperty('TSTAMP', $tstamp);

        $today = strftime('%B %d %Y', $d);
        $this->prefixProperty('TODAY', $today);
    }
public function main ( ) { $ d = $ this -> getNow ( ) ; foreach ( $ this -> customFormats as $ cf ) { $ cf -> execute ( $ this , $ d , $ this -> getLocation ( ) ) ; } $ dstamp = strftime ( '%Y%m%d' , $ d ) ; $ this -> prefixProperty ( 'DSTAMP' , $ dstamp ) ; $ tstamp = strftime ( '%H%M' , $ d ) ; $ this -> prefixProperty ( 'TSTAMP' , $ tstamp ) ; $ today = strftime ( '%B %d %Y' , $ d ) ; $ this -> prefixProperty ( 'TODAY' , $ today ) ; }
Create the timestamps. Custom ones are done before
the standard ones.

@throws BuildException
Create the timestamps . Custom ones are done before the standard ones .