Insert time: questions

  • Thread starter Thread starter FireBrick
  • Start date Start date
F

FireBrick

http://www.qsl.net/~w9ol/WX/HH.htm

In the upper left corner I have
Current Weather @
date and time

I used the Insert Date and Time menu option.

I'd like it to indicate the TZ but what happens is it displays
04/25/2005 08:16:31 AM -0500 which means 5 hours behind GMT.
I was hoping it would indicate the TZ of the computer that generated the
page and data which is CDT or Central Daylight Time.

Is there a way to do make it say the CDT by determining the TZ from my
computer which is correctly set to Central Standard Time with the automatic
adjust for Daylight Savings Time correctly checked.
07/25/2005 08:10:59 AM CDT

Hope I'm in the correct forum and please and thank you for your help.
 
Set it to not show the time zone. The Time and Date webbot will show
the time and date, at the time the page was last edited and saved. If
you choose show time-zone it will show the same time and date, with
the number of hours difference with GMT.
If you wish to indicate CDT, then append the letters CDT after the
webbot.

Since you must edit the page to change the time/date (whenever the
weather report is changed) it may be easier just to type in the
details you want displayed.
 
The insert date and time component you used is the one that enters the date and time the
page was last edited.
If you want to display the "visitors" time in the page you need to use a data time
javascript that will display the time when the page loads on a machine.

Google for: "date time javascript" with the quotes.

Also, you need to use an image editor and resize the image shepherdpatriot2.jpg to the
actual size ( 119 x 100 ) you're using on the page. Forcing the browser to resize a 36410
400 x 336 image makes the page and image slow to load.

If you need an image editor, the free IrfanView will do an excellent job.
www.irfanview.com

hth

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
I resized the jpg, thanks for that help.

but as for the time, I'd like it to show the date that the data in the .gifs
was uploaded.
It's uploads new data every half hour.
so I'd like that to be reflected in the time.



Steve Easton said:
The insert date and time component you used is the one that enters the
date and time the
page was last edited.
If you want to display the "visitors" time in the page you need to use a
data time
javascript that will display the time when the page loads on a machine.

Google for: "date time javascript" with the quotes.

Also, you need to use an image editor and resize the image
shepherdpatriot2.jpg to the
actual size ( 119 x 100 ) you're using on the page. Forcing the browser
to resize a 36410
400 x 336 image makes the page and image slow to load.

If you need an image editor, the free IrfanView will do an excellent job.
www.irfanview.com

hth

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
..............................with a computer
 
Now it gets interesting.!!!

How are you uploading the images??

Here's something to consider.
Noting that you are using a meta refresh set to refresh the page every 15 minutes, and
assuming the image names never change but are just overwritten on the server with a newer
image:

When a viewer has the page open in their browser and the meta refresh fires, the viewer
will **not** see the updated image because the browser will use the image file already
downloaded to the browser cache.




FireBrick said:
I resized the jpg, thanks for that help.

but as for the time, I'd like it to show the date that the data in the .gifs
was uploaded.
It's uploads new data every half hour.
so I'd like that to be reflected in the time.
 
rats.
so that won't help,
so unless someone quits the site and then later revisits, they will never
see the new data????

or do you mean as the gif file names never change that won't even work?


Steve Easton said:
Now it gets interesting.!!!

How are you uploading the images??

Here's something to consider.
Noting that you are using a meta refresh set to refresh the page every 15
minutes, and
assuming the image names never change but are just overwritten on the
server with a newer
image:

When a viewer has the page open in their browser and the meta refresh
fires, the viewer
will **not** see the updated image because the browser will use the image
file already
downloaded to the browser cache.
 
Yes - or no....
The visitor would have to refresh the page (ctrl or shift + refresh)
or clear their cache before they see the new data, unless their cache
settings are set to check the server on every visit to the page. I
think the default in IE is "Automatic" - only checks for new content
in a new browser session or date change, or not that often.
 
Not sure about this, but I think the <meta> refresh is the same as a
full page refresh, so the new images will be downloaded as a result.
However, if the user leaves the page, and then goes back to it (either
reloading or back button), the old images will be used since no forced
refresh has occurred.
Also, if the user has set the cache to Never look for new content, the
images may never change for that user over a period of several months,
perhaps years.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top