Old 20-01-2006, 08:06   #1 (permalink)
Steve6
Registered User
 
Join Date: Jan 2006
Posts: 5
Estimated time of arrival

Hi

I need a littel javascript to display the date 2 weeks infront of the current date. Can anyone help?

Thanks
  Reply With Quote
Old 20-01-2006, 08:10   #2 (permalink)
cam
vague™
 
cam's Avatar
 
Join Date: Mar 2004
Location: Glasgow
Posts: 5,555
function lazyBastard()
{
alert("Look on google before asking such basic questions.");
}
  Reply With Quote
Old 20-01-2006, 08:12   #3 (permalink)
Steve6
Registered User
 
Join Date: Jan 2006
Posts: 5
Was the first thing i did.
  Reply With Quote
Old 20-01-2006, 08:14   #4 (permalink)
smallbeer
I Ain't Losing Any Sleep™
 
Join Date: Apr 2003
Posts: 5,205
something like

<script type="text/javascript">
var today = new Date();
today.setDate(today.getDate() + 14);
document.write(today)
</script>

cam doesn't like being distracted from his walls today.
  Reply With Quote
Old 20-01-2006, 08:17   #5 (permalink)
Steve6
Registered User
 
Join Date: Jan 2006
Posts: 5
Ok thanks
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8