$outdir = "_" . ($year+1900) . "\\" . ($mon+1) . "\\" ; # Build the directory name based on date where the file is going \_2011\9\