Differences
This shows you the differences between the selected revisions of the page.
2012-02-18 | 2012-02-18 | ||
wrap stamp init expr (martin) | proper indenting (martin) | ||
Line 235: | Line 235: | ||
var stamp = | var stamp = | ||
today.getFullYear() + | today.getFullYear() + | ||
- | ···(today.getMonth() + 1 < 10 ? "0" : "") + (today.getMonth() + 1) + | + | ····(today.getMonth() + 1 < 10 ? "0" : "") + (today.getMonth() + 1) + |
- | ··(today.getDate() < 10 ? "0" : "") + today.getDate(); | + | ···(today.getDate() < 10 ? "0" : "") + today.getDate(); |
var fileName = "export_" + stamp + ".txt"; | var fileName = "export_" + stamp + ".txt"; | ||
var remotePath = "/home/user/sysbatch/" + fileName; | var remotePath = "/home/user/sysbatch/" + fileName; |