Click to See Complete Forum and Search --> : Self updating Date - Code
Lady J
04-09-2010, 11:02 AM
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!
skywalker2208
04-09-2010, 11:04 AM
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.
Lady J
04-09-2010, 12:49 PM
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.
skywalker2208
04-09-2010, 04:32 PM
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.