Please help! Looking for script to insert current date on page.

I currently use a Dreamweaver Extension that lets you insert
current date and time on your web page.
The problem is, I don't know Javascript and cannot edit the
Javascript codes to "remove the time"
I only need the current date that will change every day.
Do you know where I can get this script, I goggled and got
several but I'm looking for something authentic.
Also is it possible to have your page validate when you use
Javascript embedded in your HTML?
Thanks everyone,
Patrick

quote:
Originally posted by:
Newsgroup User
Webethics wrote:
> The problem is, I don't know Javascript and cannot edit
the Javascript codes
> to "remove the time"
> I only need the current date that will change every day.
JavaScript generates the date by using the clock on the
computer of each
visitor to your site. If a visitor's clock has the wrong
date, your site
will also display the wrong date.
> Do you know where I can get this script, I goggled and
got several but I'm
> looking for something authentic.
I don't know what you mean by "authentic". Date generation in
JavaScript
is one of the most basic features of the language, so if it
works, it's
"authentic".
> Also is it possible to have your page validate when you
use Javascript
> embedded in your HTML?
Yes, but you shouldn't embed JavaScript in XHTML.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
So mr. Powers are there people that use Javascript Date in
their page?
Would you recommend it?
I could use PHP but I don't know PHP,
How do I come up with the string in this format, say,
Wednesday, October 29th, 2008 that will change to a new day
according to the server time and date.
Thanks so much for your help and I have two of your books! I
will be taking PHP classes in December.
Patrick

Similar Messages

  • Looking for Scripts that Replaces Text and Master Pages (Batch Missing Files and PDFs)

    I have just found the Script Library panel in FM 10. (Always used InDesign before.)
    I'm up to replace a text string and two master pages in 100+ documents. Tried to google for some nice solutions to make this automatically but cannot find any scripts/macros to FM at all.
    Do you have som tip where to find such scripts/macros?
    To facilitate my work I also look for a batch script that automatically updates the image pathes in each framemaker file (image folder has been renamed).
    And at a last FrameMaker -> PDF Batch converter.

    100 is a small enough number that no time may be saved writing a script (assuming none exist for the purpose).
    I'd be tempted to ...
    Create a sourcing file that has the new MPs needed (and safe versions of MPs "Left" and "Right")
    Create a new Book file.
    Add to it all 100 of the files needing update (this is the only tedious part).
    Use Find/Replace from the Book menu to fix the text string.
    Select all book component files:
    File > Import > Formats
    Import from Document [MPsourcefilename.fm]
    [Deselect All]
    [*] Page Layouts
    [Import]

  • Looking for Scripts that Replaces Text and Master Pages

    I have just found the Script Library panel in FM 10. (Always used InDesign before.)
    I'm up to replace a text string and two master pages in 100+ documents. Tried to google for some nice solutions to make this automatically but cannot find any scripts/macros to FM at all.
    Do you have som tip where to find such script/macro?

    100 is a small enough number that no time may be saved writing a script (assuming none exist for the purpose).
    I'd be tempted to ...
    Create a sourcing file that has the new MPs needed (and safe versions of MPs "Left" and "Right")
    Create a new Book file.
    Add to it all 100 of the files needing update (this is the only tedious part).
    Use Find/Replace from the Book menu to fix the text string.
    Select all book component files:
    File > Import > Formats
    Import from Document [MPsourcefilename.fm]
    [Deselect All]
    [*] Page Layouts
    [Import]

  • I need make mac browsers with windows compatibility, because if i try to se priview from Dw to all browsers on windows PC it will look fine, but same file i trying to see on mac all browsers it will not showing proper..... Please help me for that.

    i need make mac browsers with windows compatibility, because if i try to se priview from Dw to all browsers on windows PC it will look fine, but same file i trying to see on mac all browsers it will not showing proper..... Please help me for that.

    ASk in the DW firum and be much more specific. Web page rendering issues are specific to specific versions of browsers and you may simply be using some bad code that messes up your page.
    Mylenium

  • I want to check all functions of PCI 6534.I have read the user manual..I have some memory related questions.​Please help me for that.

    I want to check all functions of PCI 6534.I have read the user manual..I have some memory related questions.Please help me for that.
    1.)If i am using the continuous output mode.and the size of generated data is less than 32 MB.If i want to preload the memory,what should i do?I want that first of all i load all my data to onboard memory & then i want to make start the transfer between 6534 & peripheral.Is it possible?As per me it should be.Plz tell me how should i do this?I think that in normal procedure the transfer between 6534-peripheral & outputting data from pc buffer to onboard memory works parallely.But i don't want this.Is it poss
    ible?
    (2).Similarly in finite input operation(pattern I/O) is it possible to preload the memory and then i read it?Because i think that the PC memory will be loaded automatically when 6534 acquires the data and then when we use DIO read vi the pc buffer data will be transferred to application buffer.If this is true,i do not want this.Is it possible?
    (3) One more question is there if i am using normal operation onboard memory will be used bydefault right?Now if i want to use DMA and if i have data of 512 bytes to acquire.How will it work and how should i do it?Please tell me the sequence of operations.As per my knowledge in normal DMA operation we have 32 Bytes FIFO is there so after acquisition of 32 bytes only i can read it.How it will known to me that 32 bytes acquisition is complete?Next,If i want to acquire each byte separately using DMA interrupts what should i do?Provide me the name of sourse from which i can get details about onboard memory & DMA process of 6534 specifically
    (4).In 6534 pattern Input mode,if i want to but only 10 bits of data.and i don't want to waste any data line what should i do?

    Hi Vishal,
    I'll try to answer your questions as best I can.
    1) It is definitely possible to preload data to the 32MB memory (per group) and start the acquisition after you have preloaded the memory. There are example programs on ni.com/support under Example Code for pattern generation and the 6534 that demonstrate which functions to use for this. Also, if your PC memory buffer is less than 32MB, it will automatically be loaded to the card. If you are in continuous mode however, you can choose to loop using the on-board memory or you can constantly be reading the PC memory buffer as you update it with your application environment.
    2) Yes, your data will automatically be loaded into the card's onboard memory. It will however be transferred as quickly as possible to the DMA FIFO on the card and then transferred to the PC memory buffer through DMA. It is not going to wait until the whole onboard memory is filled before it transfers. It will transfer throughout the acquisition process.
    3) Vishal, searching the example programs will give you many of the details of programming this type of application. I don't know you application software so I can't give you the exact functions but it is easiest to look at the examples on the net (or the shipping examples with your software). Now if you are acquiring 512 bytes of data, you will start to fill your onboard memory and at the same time, data will be sent to the DMA FIFO. When the FIFO is ready to send data to the PC memory buffer, it will (the exact algorithm is dependent on many things regarding how large the DMA packet is etc.).
    4) If I understand you correctly, you want to know if you waste the other 6 bits if you only need to acquire on 10 lines. The answer to this is Yes. Although you are only acquiring 10 bits, it is acquired as a complete word (16bits) and packed and sent using DMA. You application software (NI-DAQ driver) will filter out the last 6 bits of non-data.
    Hope that answers your questions. Once again, the example code on the NI site is a great place to start this type of project. Have a good day.
    Ron

  • Hi please help me for my blackberry 8900

    hi please help me for my blackberry 8900 reload software. i make a password but stil not working now the screen is all white and the writen only is reload software 513....please help me

    Hi bheth_16,
    Welcome to BlackBerry Support Community Forums.
    Try backing up your device via the BlackBerry Desktop Software and performing a clean reload of your device software. http://bbry.lv/bpv7DT
    If the Desktop Software is unable to connect to your BlackBerry, try the following:
    1. Verify that the BlackBerry Desktop Manager and BlackBerry Device Software are installed on the computer.
    2. Remove the battery from the BlackBerry. Do not re-insert.
    3. Connect the BlackBerry to the computer.
    4. On the BlackBerry Desktop Manager main screen, click Application Loader.
    5. Click Start.
    6. Click Options to add or remove applications.
    7. Click Next.
    8. Click Next.
    9. Click Finish.
    10. When the application load starts, insert the battery into the BlackBerry smartphone.
    This will remove all personal data from your BlackBerry. To restore your data you will need a previously taken backup file.
    -FS
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click Solution? for posts that have solved your issue(s)!

  • HT3986 I installed windows 7 to my macbook pro, but my mousepad does not work in windows 7 and also i can not connect my windows 7 to projector, but i can use my macbook's mouse pad and i can connect my mac to projector,so please help me for windows 7 pro

    I installed windows 7 to my macbook pro, but my mousepad does not work in windows 7 and also i can not connect my windows 7 to projector, but i can use my macbook's mouse pad and i can connect my mac to projector,so please help me for windows 7 problem

    i try to download now, do you think when i download and install the windows support software, can i fix the problem?

  • HT1414 Turn Passcode Off is disabled in my iPod touch 5. Could you please help me for the same ?

    Turn Passcode Off is disabled in my iPod touch 5. Could you please help me for the same ?

    What do yoo mean?

  • HT4436 I am using IOS 4.1 in Ipod touch. I would like to take my data back using icloud. I am not able to enable icloud in to my ipod touch. please help me for the same.

    I am using IOS 4.1 in Ipod touch. I would like to take my data back using icloud. I am not able to enable icloud in to my ipod touch. please help me for the same. Basically I am trying to take back to upgrade my ios to 5 or 6 version.

    You can't back up to iCloud until you update to iOS 5 or higher.  You will have to back up your iPod on your computer using iTunes.  Update iTunes on your computer to the latest version, then connect your iPod to your computer, open iTunes, if iTunes give you a pop-up asking if you want to update your iPod, decline.  Then click on the name of your iPod in iTunes, go to File>Devices>Transfer Purchases to transfer any purchased media to your iTunes library.  Next, go to the Summary tab of your iTunes sync settings and click on Back Up Now to back up your iPod on your computer.
    When it's done backing up, click on Check for Update (or Update) on the Summary tab of your iTunes sync settings.  Allow your iPod to update, and leave it connected to your computer.  At the end, it will restart and give you the option to restore to the iTunes backup you made earlier.  Choose this option to restore your backup and sync your apps and other iTuens media to your phone.
    This process is outlined in this article: http://support.apple.com/kb/HT4972, under "If you are attempting to update using a Mac or PC with which you normally sync".

  • Please , help me for apple id.......  i made new id but there is a credite card option and that's why i am not able to download any free application for iphone,.....so,.....what i do about this problem..???

    please , help me for apple id.......  i made new id but there is a credite card option and that's why i am not able to download any free application for iphone,.....so,.....what i do about this problem..???

    You can create an Apple ID without a credit card by following this guide exactly: http://support.apple.com/kb/ht2534.  Note that you have to start by downloading a free app, then create the ID.

  • TS1292 Please help me for, I don't have any code to redeem applications or to update application

    Please help me for I don't have any code to redeem application or update applications

    What 'redeem code' are you expecting, and why do you think that you need one ? iTunes gift cards are country-specific (they can only be redeemed/used in the country in which they were issued), if they aren't available in your country then you won't be able to get one. You shouldn't need a gift code in order to update an app.

  • I'm unable to play game in hp 15-r009TU.. what can i do for this. please help me for this

    i'm unable to play game in hp 15-r009TU.. what can i do for this. please help me for this

    Hi Madhuama, I'll try to give you a hand with this. First off, what OS is running on your notebook, what game are you attempting to play, and how is it not working? Is it not installing?
    Thanks,
    Fenian Frank
    I work on behalf of HP

  • I want to transfer my Adobe CS3 licence to my new Laptop. Please help me for Deactivate Adobe CS3 licence from old Laptop

    I want to transfer my Adobe CS3 licence to my new Laptop.
    Please help me for Deactivate Adobe CS3 licence from old Laptop

    Hi sanket chalke,
    I'm not sure what Adobe product you need help with, but you might want to start with this document, which has deactivation information: Activation & Deactivation Help
    Please let us know how it goes.
    Best,
    Sara

  • I forgot restrictions cod in ipad air1 and don't off it , please help me for recovery this cod

    i forgot restrictions cod in ipad air1 and don't off it , please help me for recovery this cod...

    Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
    A
    1. iOS- Forgotten passcode or device disabled after entering wrong passcode
    2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    3. Restoring iPod touch after forgotten passcode
    4. What to Do If You've Forgotten Your iPhone's Passcode
    5. iOS- Understanding passcodes
    6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    7. iOS - Unable to update or restore
    Forgotten Restrictions Passcode Help
                iPad,iPod,iPod Touch Recovery Mode
    You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
    You can restore from a backup if you have one from BEFORE you set the restrictions passcode.
    Also, see iTunes- Restoring iOS software.
    And also see How to Recover Forgotten iPhone, iPad Restrictions Passcode.

  • When i run installation itunes,i see this massage "there is a problem with this windows installer package.a program required for this install to complete could not be run. contact your support personnel or package vendor."please help me for installation i

    when i run installation itunes,i see this massage "there is a problem with this windows installer package.a program required for this install to complete could not be run. contact your support personnel or package vendor."please help me for installation itunes on my pc completely.

    Apparently it's an itunes issue. I just tried to update and got the same issue. Called att to activate my iphone 4s and they say they can do the swap but apple is telling them itunes is down atm.  So will have to wait

Maybe you are looking for

  • Error 1311, missing file data1.cab

    I'm trying to install Acrobat XI but continue to get Error 1311. File data1.cab is missing, empty or something.  I've tried download the program several times. Each appears to be a successful download but won't install. I've tried disabling my spywar

  • ABAP GET Personnel Number based on SY-UNAME

    Hi, anyone knows a bapi, function, etc, that can return a personnel number with sy-uname as input ?

  • How to install path 2343 which is missing ?

    How do I install path 2343 which is missing?

  • Create Query

    Hi frnds I have to create a query in SAP. But in my requirement i am having four flag fields in a table, i need to have a query which should pull records only when any of the flag is 'yes'. How can i do? Please let me know?

  • Generic Extraction (views)

    HI I am involved in a project where there are 35 ztables now i am told to use use views as much as possible and extract the data. does any has any step by step doc to create views and what are the conditions on which i can join the tables. appreciate