View Single Post
  #2  
Old 09-24-2007, 04:29 AM
Watdaflip's Avatar
Watdaflip Watdaflip is offline
Brigadier General
 
Join Date: Sep 2005
Location: Cincinnati, Ohio
Posts: 1,638
Default Re: Dreamweaver or script help??

Where the text needs to appear put this code

<?=date('F d Y', time()+259200)?>

259200 is the number of seconds in 3 day, so thats what has to be changed if needed

Also make sure that the webpage you use that on is a .php page

EDIT: Also if you want to change how the date is displayed, heres the documentation for the date function

http://us.php.net/manual/en/function.date.php
__________________

Register/Login Script
Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script
Reply With Quote