Results 1 to 4 of 4
  1. #1

    Time/Date in DWCS4

    Hi Folks,

    I found the command to put the time/date on my webpage via DW CS4. However, it is NOT dynamic. IE, it will only update when I update my webpage in DW. This is not good. I want it to constantly have the correct time and date LIVE.

    Any thoughts?

  2. #2
    Join Date
    Aug 2005
    Barcelona, Spain
    Does your server support php? if so, add this to your page:
    <?php print date('d-m-y H:i'); ?>
    You can alter the code between the ' ' however it might suit you. There's an instruction of what to put there on the website:
    hi there!

  3. #3
    Join Date
    Aug 2002
    United Kingdom
    Yeah as above is a simple way of showing it, or of course look along the lines of an SSI or Javascript to show the date and time. Dreamweaver only inserts the current date and time as this is to display when the page was revised
    View Portfolio

    A trusted WHT member for over 7 years!

  4. #4
    Join Date
    Jan 2008
    or you can use flash for this.

Similar Threads

  1. php date/time
    By ryan14 in forum Programming Discussion
    Replies: 7
    Last Post: 08-06-2009, 09:50 AM
  2. PHP Time ... well date()
    By JustinSmall in forum Programming Discussion
    Replies: 7
    Last Post: 01-03-2009, 02:26 PM
  3. PHP time() from date()
    By sikkhost in forum Programming Discussion
    Replies: 2
    Last Post: 12-23-2005, 04:35 AM
  4. php date/time question
    By tonomud in forum Programming Discussion
    Replies: 5
    Last Post: 10-29-2003, 07:59 PM

Posting Permissions

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