0
Welcome Guest! Login
0 items Join Now

Tweek CODE for date display (2 days behind current)

  • Tweek CODE for date display (2 days behind current)

    Posted 18 years 4 months ago
    • Hello again!! Happy Holidays!!

      I've used the following java script to have a current date appear on sites before:

      wsabstract.com/script/cut164.shtml

      Example:

      Wednesday, November 29, 2006

      I'd like to adjust this to always show 2 days BEFORE today... so in the example above it would read:

      Monday, November 27, 2006

      I've figured out that changing the DAY ARRAY of the week... by moving the last 2 days of the week to the beginning of the list offsets the first part of the line... but I can't figure out how to adjust the code for the numeric day value.

      Any ideas??
    • Errin

      GIZMO PROJECT.com ID: creedworks

      "If you are dealing with Kleptomania... its ok... you can take something for it."
  • Re: Tweek CODE for date display (2 days behind current)

    Posted 18 years 4 months ago
    • Hello Errin,

      May I know why you want to adjust it 2 days before?

      Best Regards,

      Arifin FinLy

Time to create page: 0.116 seconds