Thread: Display date...

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 1999
    Posts
    18
    Rep Power
    0
    What is the best way to display the date and/or time on a web page...?


  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 1999
    Posts
    25
    Rep Power
    0
    This page has a multitude of Date/Time related Javascripts:
    http://www.zdnet.com/devhead/resourc...ript/time.html
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2000
    Location
    Seattle Wa Us
    Posts
    12
    Rep Power
    0
    If you have SSI you can include this
    <!--#echo var="DATE_LOCAL" -->

    You would have to rename the page with code in it to .shtml. Nothing else changes.

    To dispay in this format:
    Saturday, February 18, 2000 you use this code:

    <!--#config timefmt="%A, %B %e, %Y" -->
    <!--#echo var="DATE_LOCAL" -->

Similar Threads

  1. Javascript date validation: advance to next valid date
    By TruckStuff in forum JavaScript Development
    Replies: 2
    Last Post: September 19th, 2003, 11:21 AM
  2. HTML Form not passing date value
    By XyberCom in forum PHP Development
    Replies: 14
    Last Post: September 14th, 2003, 01:18 PM
  3. How to display date in this way?
    By quiquedcode in forum PHP Development
    Replies: 1
    Last Post: November 25th, 2002, 12:39 PM
  4. display date in form
    By marlina in forum PHP Development
    Replies: 2
    Last Post: December 12th, 2000, 08:26 PM
  5. Validate that a date comes before today's date
    By atarbaer in forum HTML Programming
    Replies: 0
    Last Post: October 4th, 2000, 12:49 PM

IMN logo majestic logo threadwatch logo seochat tools logo