www.webdeveloper.com
Results 1 to 4 of 4

Thread: Self updating Date - Code

  1. #1
    Join Date
    Apr 2010
    Posts
    2

    Self updating Date - Code

    Hello! I'm working on a pre-coded website and need to know where can I find html code that will generate a self-updating date every day. I need to add it to a form and am having an epic fail moment. Any help is appreciated!

  2. #2
    Join Date
    Mar 2007
    Posts
    946
    You can't do this with HTML. You would need to do this with server side code like PHP, ASP.Net, etc. You could do this with javascript, but users are able to turn off javascript via the browser so then your code wouldn't work.
    "Hippies.They're everywhere. They wanna save the earth, but all they do is smoke pot and smell bad."-Cartman

  3. #3
    Join Date
    Apr 2010
    Posts
    2

    Hm... what if?

    What if I don't need it to show on the actual site? I plan on connecting it to a payment site and just need it to generate.

  4. #4
    Join Date
    Mar 2007
    Posts
    946
    Quote Originally Posted by Lady J View Post
    What if I don't need it to show on the actual site? I plan on connecting it to a payment site and just need it to generate.
    You would still need server side code. HTML has no way of generating a time.
    "Hippies.They're everywhere. They wanna save the earth, but all they do is smoke pot and smell bad."-Cartman

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles