PDA

View Full Version : insert previous date


brokenshadows
06-13-2006, 03:01 PM
I know how to use the insert -> date function in dreamweaver, but how do I insert the previous days date? In one portion of a page I have it set to insert the current date, but I need to insert the previous days date in another portion of the site and would like to do it without having to manually edit it each time.

yes, I know...I'm lazy :roll:

dthomsen8
06-14-2006, 12:53 PM
I know how to use the insert -> date function in dreamweaver, but how do I insert the previous days date? In one portion of a page I have it set to insert the current date, but I need to insert the previous days date in another portion of the site and would like to do it without having to manually edit it each time.

yes, I know...I'm lazy :roll:

If you reset your system date, then Dreamweaver will use yesterday's date when it inserts the "current" date. The risk is that you will forget to change back when you are done with changing the dates.

brokenshadows
06-14-2006, 01:12 PM
that won't help when I'm needing both today's date and yesterday's date inserted into the same page...