html script for today date

3 replies
I try to insert html date script to my squeeze page,
the script only can be done in html code nt javascript.
Do anyone knw the html code for date?
Thx you vry much..
#date #html #script #today
  • Profile picture of the author Brent Stangel
    Here's something that might help: Free Countdown Timer for Your Website
    Signature
    Get Off The Warrior Forum Now & Don't Come Back If You Want To Succeed!
    All The Real Marketers Are Gone. There's Nothing Left But Weak, Sniveling Wanna-Bees!
    {{ DiscussionBoard.errors[10005285].message }}
  • Profile picture of the author Path Theory
    Originally Posted by ongpeitong View Post

    I try to insert html date script to my squeeze page,
    the script only can be done in html code nt javascript.
    Do anyone knw the html code for date?
    Thx you vry much..

    It's impossible. Html is a static language, you have to use some sort of dynamic element - Php, javascript ect.

    All html does is format and display images and data. Why can't you use javascript or php? If you can use Php, insert one of these

    [FONT='Courier New',Verdana, Arial, Helvetica] <!DOCTYPE html>
    <html>
    <body>

    <?php
    echo "Today is " . date("Y/m/d") . "<br>";
    echo "Today is " . date("Y.m.d") . "<br>";
    echo "Today is " . date("Y-m-d") . "<br>";
    echo "Today is " . date("l");
    ?>


    </body>
    </html>
    [/FONT]
    Signature

    Dental Floss Tycoon

    {{ DiscussionBoard.errors[10005361].message }}
    • Profile picture of the author ChrisBa
      Originally Posted by Path Theory View Post

      It's impossible. Html is a static language, you have to use some sort of dynamic element - Php, javascript ect.

      All html does is format and display images and data. Why can't you use javascript or php? If you can use Php, insert one of these

      [FONT='Courier New',Verdana, Arial, Helvetica] <!DOCTYPE html>
      <html>
      <body>

      <?php
      echo "Today is " . date("Y/m/d") . "<br>";
      echo "Today is " . date("Y.m.d") . "<br>";
      echo "Today is " . date("Y-m-d") . "<br>";
      echo "Today is " . date("l");
      ?>


      </body>
      </html>
      [/FONT]
      This is exactly what I was thinking any how I would do it.

      Just out of curiosity, why were you against java?
      {{ DiscussionBoard.errors[10006367].message }}

Trending Topics