Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for today.ps

(view source code of today.ps 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 modified: 2024-04-16; loaded in 0.0083 seconds