Help with timestamps

  • Avon
  • Novice
  • Novice
  • Avon
  • Posts: 25
  • Loc: United States

Post 3+ Months Ago

Hey all-

I'd like to insert a date onto a site I'm doing. I'm fairly confident that what I'm looking for is called a timestamp, but I'm not sure. Does anyone know of code I could use to make a date appear that is always correct without my updating it?

Or where I could find something to tell me how to do it?

Thanks!
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Liquescence
  • Proficient
  • Proficient
  • User avatar
  • Posts: 353
  • Loc: Queens, NY

Post 3+ Months Ago

If you mean like, when someone views your site, the current date and time will show? If so, just insert this js tidbid in there:

Code: [ Select ]
<script>document.write(Date())</script>
  • Avon
  • Novice
  • Novice
  • Avon
  • Posts: 25
  • Loc: United States

Post 3+ Months Ago

That's exactly what I needed. Thank you so much!

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 65 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.