Help for this page

Select Code to Download


  1. or download this
    sub TimeStamp($) # Pass the stamp in as YYYYMMDD
    {
    ...
      }
      else { warn "Invalid input to TimeStamp()" }
    }
    
  2. or download this
    $date_created = TimeStamp($date_created);
    
  3. or download this
    if ( $date_created = TimeStamp($date_created) eq 'somedate' ) {
        # do something special.
    }