Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 11-11-2008, 10:50 AM   #1
Senior Warrior Member
War Room Member
 
Trieu's Avatar
 
Join Date: Aug 2007
Location: UK London
Posts: 1,267
Thanks: 41
Thanked 66 Times in 42 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Contact Info
Send a message via AIM to Trieu Send a message via MSN to Trieu Send a message via Skype™ to Trieu
Default Dates on salespage?

I like to know how to include a date on a sales page, that updates itself on a daily basis. I've seen many sales page that has this. Do I need to buy a script for this?


======================================
"$100 On eBay with just 10 Minutes Work! {120+ copies SOLD}"

======================================
Trieu is offline   Reply With Quote
Old 11-11-2008, 10:58 AM   #2
Senior Warrior Member
War Room Member
 
lgibbon's Avatar
 
Join Date: Jul 2002
Location: Medemblik, Netherlands.
Posts: 5,800
Thanks: 230
Thanked 442 Times in 183 Posts
Social Networking View Member's Myspace Profile  View Member's FaceBook Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to lgibbon
Default Re: Dates on salespage?

Quote:
Originally Posted by Teo View Post
I like to know how to include a date on a sales page, that updates itself on a daily basis. I've seen many sales page that has this. Do I need to buy a script for this?
No, you can get most of them for free.
I'll send you one by PM


WSO
lgibbon is offline   Reply With Quote
Old 11-11-2008, 11:00 AM   #3
John Burnette
War Room Member
 
globalpro's Avatar
 
Join Date: Aug 2007
Location: S.E. USA
Posts: 1,049
Thanks: 659
Thanked 208 Times in 175 Posts
Default Re: Dates on salespage?

Try this:

Code:
<SCRIPT language=JavaScript>

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!--  Author: www.cgiscript.net  -->

<!-- Begin

// Get today's current date.
var now = new Date();

// Array list of days.
var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');

// Array list of months.
var months = new Array('January','February','March','April','May','June','July','August','September','October','November','December');

// Calculate the number of the current day in the week.
var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();

// Calculate four digit year.
function fourdigits(number)	{
	return (number < 1000) ? number + 1900 : number;
								}

// Join it all together
today =  days[now.getDay()] + ", " +
         months[now.getMonth()] + " " +
         date + ", " +
         (fourdigits(now.getYear())) ;

// Print out the data.
document.write(today);

//  End -->
</SCRIPT>
Thanks,

John

globalpro is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum

Tags
dates, salespage

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 04:58 AM.