Thread: Auto Date and Time Input?
Results 1 to 4 of 4
HTML input question, how do I add an input field to a single URL? Forum: HTML ForumReplies: 15
Date Validation Forum: HTML ForumReplies: 7
08-05-2001, 03:23 PM #1
Auto Date and Time Input?
I was wondering if there is a code for auto dating and timing news posts?......and if there is one that i could put on my page taht tells the date. Thx, I think that this should be pretty basic...hopefully =).
08-05-2001, 03:30 PM #2
Many, many ways, D. However, which one you use depends heavily on how the news is being posted.
CGI Form? PHP? ASP?
Or is it old-fashioned uploading of HTML?
Let us know.
08-05-2001, 04:11 PM #3
lol i'm oldskool so i'm just going to be uploading the HTML. I have no clue about that other stuf...remember now i'm a n00b at this =).
08-05-2001, 04:26 PM #4
lol. Fair enough.
However, if you are just uploading, It's hardly worth having an automatic date insertion put in there. might as well write it yourself.
If your host supports PHP, I have a very simple script that I wrote for news. And it inserts the date automatically! Let me know if your host does support it, and I will post it 4 ya.
Hmm. You could use JS to insert the time that the document was last amended...
put this where you want it to appear -
document.write("Last Modified " + document.lastModified)