cheers FER "Amartyr1" escribió en el mensaje news:behp2d$jn4$1@forums.macromedia.com...[quote] > I want to put a date on a html page. I used the ?Insert/Date? command.[/quote] It inserted the date alright. But the problem is, it does not update. I tested on a server, it show the same date even the next day. How can I put a date that actually changes (each minute, each day)?[quote] > > Thank you > > Angel > > >[/quote] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => FER [ip] => fer@fer.com [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 3 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> How to use a dynamic date? - Macromedia Dreamweaver

How to use a dynamic date? - Macromedia Dreamweaver

I want to put a date on a html page. I used the ?Insert/Date? command. It inserted the date alright. But the problem is, it does not update. I tested on a server, it show the same date even the next day. How can I put a date that actually changes (each minute, each day)? Thank you Angel...

  1. #1

    Default How to use a dynamic date?

    I want to put a date on a html page. I used the ?Insert/Date? command. It inserted the date alright. But the problem is, it does not update. I tested on a server, it show the same date even the next day. How can I put a date that actually changes (each minute, each day)?

    Thank you

    Angel



    Amartyr1 webforumsuser@macromedia.com Guest

  2. #2

    Default Re: How to use a dynamic date?

    > I want to put a date on a html page. I used the ?Insert/Date? command.

    What scripting language are you using?

    BTW, what's the point of putting the current date/time on a web page?
    Everyone already has that on their computer/watch/wall.

    -Darrel


    darrel Guest

  3. #3

    Default Re: How to use a dynamic date?

    hey , if you want to use JavaScript

    here is the code:
    paste it, in the place where you want show the date


    <script language="JavaScript">
    <!--
    var MyDate = new Date()
    MyDayWeek = (MyDate.getDay())
    MyMonth = (MyDate.getMonth())
    MyDay = (MyDate.getDate())
    MyYear = "2000"
    DayWord = new Array("SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY",
    "FRIDAY", "SATURDAY", 7)
    MonthWord = new Array("January", "February", "March", "April", "May",
    "June", "July", "August", "September", "October", "November", "December",
    12);
    doent.write(""+(DayWord [MyDayWeek])+""+" "+(MonthWord [MyMonth])+"
    "+MyDay+", "+MyYear);
    //-->
    </script>


    cheers

    FER





    "Amartyr1" <webforumsusermacromedia.com> escribió en el mensaje
    news:behp2d$jn4$1forums.macromedia.com...
    > I want to put a date on a html page. I used the ?Insert/Date? command.
    It inserted the date alright. But the problem is, it does not update. I
    tested on a server, it show the same date even the next day. How can I put
    a date that actually changes (each minute, each day)?
    >
    > Thank you
    >
    > Angel
    >
    >
    >

    FER Guest

  4. #4

    Default Re: How to use a dynamic date?

    Amartyr:

    If you read the help information about that function, you'll discover that
    it only updates when the file is changed. It's not a dynamic date....

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver MX
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
    ANSWERS
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "Amartyr1" <webforumsusermacromedia.com> wrote in message
    news:behp2d$jn4$1forums.macromedia.com...
    > I want to put a date on a html page. I used the ?Insert/Date? command.
    It inserted the date alright. But the problem is, it does not update. I
    tested on a server, it show the same date even the next day. How can I put
    a date that actually changes (each minute, each day)?
    >
    > Thank you
    >
    > Angel
    >
    >
    >

    Murray *TMM* Guest

Similar Threads

  1. Dynamic date
    By jag_k in forum Macromedia Dynamic HTML
    Replies: 1
    Last Post: June 30th, 05:52 PM
  2. Dynamic output by calendar date?
    By KidKodiak in forum Macromedia ColdFusion
    Replies: 3
    Last Post: June 28th, 02:16 AM
  3. Date formatting on your dynamic pages?
    By I Need Help! in forum Dreamweaver AppDev
    Replies: 4
    Last Post: March 20th, 02:22 PM
  4. dynamic time/date variable to sort records by
    By furry in forum PHP Development
    Replies: 4
    Last Post: June 16th, 09:31 PM
  5. Dynamic Date Field
    By Lisa_ONeal@adobeforums.com in forum Adobe Acrobat Windows
    Replies: 10
    Last Post: June 11th, 01:17 PM

Bookmarks

Posting Permissions

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