javascript display date
The Problem: You want to display the date on your page or set a time limited offer
The Solution: Instant Date Display
Have you also noticed the date above the greeting, like mine above? There are many different formats and ways to use days and dates. Every marketer seems to have their own way of using days of the week or dates.
One thing is for sure: 99% of them use an automated program to generate those dates.
But how do you program an automatic date function? Don't know? Most "do-it-yourself" webmasters don't either. Frankly, there's not enough time to show you, nor is it an easy function to learn to write this program.
So I created Instant Date Display, a free JavaScript utility to make it pleasingly simple.
From seasoned vets to new webmasters, we use days of the week and dates to express a sense of urgency.
Why? Giving your visitors a sense of when you may have written a message to them helps them feel the letter or content is current. MOST importantly though, an automated dating function is used to convey a sense of urgency or to create a deadline for a special deal, introductory low price, bonus offer or many other ways to convey a sense of urgency.
Once you've generated your code place it on your web page between the <head> and </head> tags.
Then just call the function at the point you want the date to display, like so:
<script language=javascript> dispDate(0) </script>
The previous example shows todays date:
By calling the function and passing the number 2 as the parameter produces the following:
It's that easy - click here to get the free code.
|