Results 1 to 5 of 5

Thread: PUtting the local time, date, temp/weather on my webpage

  1. #1
    Join Date
    Apr 2007
    Posts
    250

    Default PUtting the local time, date, temp/weather on my webpage

    I once found a post on this forum that told me how to do some of this but I cannot find it now :(

    I live in China, and while I ever so do appreciate people giving me a spontaneous phone call, it is not very well received when it is 3 a.m. my time. Because of this I would like to be able to put the local time, day and date on my website.

    Also, not related to the first issue, I would like to put the temp and weather on my website.

    Any ideas on how to do this?

  2. #2
    Join Date
    Aug 2007
    Location
    NC
    Posts
    23

    Default

    Come visit a nice 3D arts site :D Render Haven Also my computer site CTB Computers:D

  3. #3
    Join Date
    Apr 2007
    Posts
    250

    Default

    Thanks! That takes care of both the time and the date! Way cool! Is there any way I can modify the html code so that the date of the week appears on the top line and the date appears underneath, i.e. put a carriage return after the day of the week? The code I am using is:

    <iframe src="http://free.timeanddate.com/clock/iryba4h/n33/tt1/tm2/td1" frameborder="0" width="161" height="18"></iframe>

    Also, I cannot get the seconds to be hidden - they always display, even though I choose the option to not display them.
    Last edited by pengyou; 11-24-2007 at 06:04 PM.

  4. #4
    Join Date
    Feb 2007
    Posts
    11

    Default

    for me,
    <iframe src="http://free.timeanddate.com/clock/is5q4lw/n158/fc900/tt0/tw1/tm1/th2/ts1" frameborder="0" width="207" height="18"></iframe>
    does not show seconds, but the code below does.

    So add /ts1 after /th2/ to eliminate seconds, I guess.

    <iframe src="http://free.timeanddate.com/clock/is5q4lw/n158/fc900/tt0/tw1/tm1/th2" frameborder="0" width="227" height="18"></iframe>

  5. #5
    Join Date
    Apr 2007
    Posts
    250

    Default

    Thanks! How about splitting the date up onto 2 lines?

Posting Permissions

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