52 users online (1 members and 51 guests)  


  Results 1 to 4 of 4

Related

  1. Replies: 15
  2. Java Date    Forum: Javascript Forum
    Replies: 3
  3. Date Validation    Forum: HTML Forum
    Replies: 7
  1. #1
    Mr. Blue's Avatar
    Evil twin of Dave

    Status
    Offline
    Join Date
    Jul 2001
    Location
    MA, USA
    Posts
    148

    Post 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 =).

    -Dave

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662

    Post

    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.

    ------------------
    QuietDean-

  3. #3
    Mr. Blue's Avatar
    Evil twin of Dave

    Status
    Offline
    Join Date
    Jul 2001
    Location
    MA, USA
    Posts
    148

    Exclamation

    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 =).

    -Dave

  4. #4
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662

    Post

    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 -

    <script language="JavaScript" type="text/javascript">
    <!--

    document.write("Last Modified " + document.lastModified)

    // -->
    </script>

    ------------------
    QuietDean-



Tags for this Thread