Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for today.ps1

(view source code of today.ps1 as plain text)

  1. ""
  2. "Date / Format   YYYYMMDD        DD-MM-YYYY        MM/DD/YYYY"
  3. "============================================================"
  4. "Yesterday       " + (get-date (get-date).AddDays(-1) -uformat %Y%m%d) + "        " + (get-date (get-date).AddDays(-1) -uformat %d-%m-%Y) + "        " + (get-date (get-date).AddDays(-1) -uformat %m/%d/%Y)
  5. "Today           " + (get-date -uformat %Y%m%d)                        + "        " + (get-date (get-date)             -uformat %d-%m-%Y) + "        " + (get-date (get-date)             -uformat %m/%d/%Y)
  6. "Tomorrow        " + (get-date (get-date).AddDays(1)  -uformat %Y%m%d) + "        " + (get-date (get-date).AddDays(1)  -uformat %d-%m-%Y) + "        " + (get-date (get-date).AddDays(1)  -uformat %m/%d/%Y)
  7.  

page last uploaded: 2015-12-04, 16:51