Automatic updating date - not a date widget

  • 1
  • Question
  • Updated 9 years ago
  • Answered
I looking for code for a date that updates based on the current date. Its for a sales letter page. Does anyone have anything?

So it will be something like:

Date: the current date here
From : Me

Thank you!
Photo of Jaime

Jaime

  • 9 Posts
  • 0 Reply Likes
  • excited

Posted 9 years ago

  • 1
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
i dont quie understand what you mean, do you mean a countdown timer because you just need to drag and drop it onto you page and edit it in the custimise bar.

if this isnt what you want let me know,

al

http://comedy-classics.synthasite.com
Photo of Jaime

Jaime

  • 9 Posts
  • 0 Reply Likes
No, that's not what I mean, I'm looking for the current date to be displayed. No count down, just the date.
Photo of Jaime

Jaime

  • 9 Posts
  • 0 Reply Likes
Also, I just want it to be in the flow of the text.
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
Photo of Jaime

Jaime

  • 9 Posts
  • 0 Reply Likes
I have tried a script already from a number of sites today and I'm hoping that someone else has one that actually worked for them in Synthasite.
Photo of Jaime

Jaime

  • 9 Posts
  • 0 Reply Likes
By the way, your first link doesn't work. The last one seems to be a random directory site.
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
hmm dont know why my first link wont work, oh well, theres still 2 good sites.

al
Photo of Jaime

Jaime

  • 9 Posts
  • 0 Reply Likes
I would imagine the first one doesn't work due to the spelling error.

Hopefully someone will have the answer anyway.
Photo of Jaime

Jaime

  • 9 Posts
  • 0 Reply Likes
I've found one that works by looking at the source on a site that has it.

""
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
share it then. put the code in these <!-- -->
Photo of Jaime

Jaime

  • 9 Posts
  • 0 Reply Likes
Thanks Lee, I was having problems with it showing up!
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
great!
Photo of Jaime

Jaime

  • 9 Posts
  • 0 Reply Likes
<!-- <script language="Javascript">
var dayName = new Array ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday")

var monName = new Array ("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December")

var now = new Date

document.write(" " + dayName[now.getDay()] + ", " + monName[now.getMonth()] + " "+now.getDate() +"")
</script> -->
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
i like... it's really good, clever, javascript is interesting stuff at times, thanks Jaime.