469,270 Members | 1,231 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,270 developers. It's quick & easy.

LAST_MODIFIED Date

My Web site is hosted by my ISP on an Apache server. Some of my pages
display dynamic "Last Updated" dates by using the LAST_MODIFIED
environment variable in the following SSI:
<!--#config timefmt="%e %B %Y" --><!--#echo var="LAST_MODIFIED" -->
Note that the formatting is for day month year.

The server is in the same time zone as where I live (just about 2 miles
away). When someone sees the "Last Updated" date, will they see it
according to the time zone of the hosting server? Or will they see it
adjusted to their own time zone? For a file updated late in the evening
or early in the morning (my local time), the latter could shift the date
displayed by a day.

I request that someone NOT on daylight saving time in the Pacific time
zone go to my home page (per the link in my signature), scroll to the
bottom, and select the link for "Index of HTML Files". On the "Index of
HTML Files" page, scroll down a bit to "whatsnew.html". Reply to this
message with the date and time you see for file and also indicate your
time zone and daylight saving time status.

--

David E. Ross
<http://www.rossde.com/>.

Don't ask "Why is there road rage?" Instead, ask
"Why NOT Road Rage?" or "Why Is There No Such
Thing as Fast Enough?"
<http://www.rossde.com/roadrage.html>
Jun 24 '07 #1
7 4389
Gazing into my crystal ball I observed "David E. Ross" <no****@nowhere.not>
writing in news:WO******************************@iswest.net:
My Web site is hosted by my ISP on an Apache server. Some of my pages
display dynamic "Last Updated" dates by using the LAST_MODIFIED
environment variable in the following SSI:
<!--#config timefmt="%e %B %Y" --><!--#echo var="LAST_MODIFIED" -->
Note that the formatting is for day month year.

The server is in the same time zone as where I live (just about 2 miles
away). When someone sees the "Last Updated" date, will they see it
according to the time zone of the hosting server? Or will they see it
adjusted to their own time zone?
It's whatever the time is on the server. If it's 15:00 EST on the server,
then it will print 15:00 EST.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Jun 24 '07 #2
In article <WO******************************@iswest.net>,
"David E. Ross" <no****@nowhere.notwrote:
When someone sees the "Last Updated" date, will they see it
according to the time zone of the hosting server? Or will they see it
adjusted to their own time zone?
The server's time zone. The server can't know what time zone the client
is in, so although it would be a nice option to show time according to
the client's clock, it couldn't be made to work reliably.

--
Philip
http://NikitaTheSpider.com/
Whole-site HTML validation, link checking and more
Jun 24 '07 #3
Nikita the Spider wrote:
>>When someone sees the "Last Updated" date, will they see it
according to the time zone of the hosting server? Or will they see it
adjusted to their own time zone?


The server's time zone. The server can't know what time zone the client
is in, so although it would be a nice option to show time according to
the client's clock, it couldn't be made to work reliably.
The server's time zone also is useless, because the client doesn't know
which one it is :-(

I wonder why time stamps should not be formatted in UTC?

DoDi
Jun 24 '07 #4
In our last episode,
<5e*************@mid.individual.net>,
the lovely and talented Hans-Peter Diettrich
broadcast on comp.infosystems.www.authoring.html:
Nikita the Spider wrote:
>>>When someone sees the "Last Updated" date, will they see it
according to the time zone of the hosting server? Or will they see it
adjusted to their own time zone?


The server's time zone. The server can't know what time zone the client
is in, so although it would be a nice option to show time according to
the client's clock, it couldn't be made to work reliably.
The server's time zone also is useless, because the client doesn't know
which one it is :-(
The user will know the server's time zone if the author does not modify the
timefmt to prevent the user from knowing it, which is what the OP here did.
He can tell the user the server's time zone by including %Z (or %z), but
that does look funny when you have the date and no hour.
I wonder why time stamps should not be formatted in UTC?
They certainly can be if the server runs UTC time, but that still won't
help if the time format is changed to omit telling what time is being used.

--
Lars Eighner <http://larseighner.com/ <http://myspace.com/larseighner>
Countdown: 575 days to go.
Owing to googlegroups not screening users to eliminate spammers and other
USENET abusers, I do not see most posts from googlegroups.
Jun 24 '07 #5
In comp.infosystems.www.authoring.html message <WOGdndPD1tjPW-DbnZ2dnUVZ
_v******@iswest.net>, Sat, 23 Jun 2007 18:18:08, David E. Ross
<no****@nowhere.notposted:
>
I request that someone NOT on daylight saving time in the Pacific time
zone go to my home page (per the link in my signature), scroll to the
bottom, and select the link for "Index of HTML Files". On the "Index of
HTML Files" page, scroll down a bit to "whatsnew.html". Reply to this
message with the date and time you see for file and also indicate your
time zone and daylight saving time status.
Line: whatsnew.html 5399 Jun 21 16:48

Seen in the UK, during BST (GMT+1), using XP sp2 IE6 FWIW.

Since that is written in the HTML, I'd expect everyone to see the same,
but without certainty.
I upload by WS_FTP_LE, which makes a local log with lines like
ws_ftp.log:2007.06.25 17:48 B C:\HOMEPAGE\try.log -->
homepages.demon.co.uk /docroot try.log
where that is my local PC's time; I could process that with a program to
generate HTML for a list of upload times in GMT (omitting itself), then
upload that.
Your home page says "If you are an unemployed professional, OPEN is an
effective government program that can truly help you." A Web site
should be designed for world-wide readership, but that links to a URL
seemingly for the EU (at www.eu-open.org/) and actually dealing with a
rather limited location in an unspecified country.

When I was new to News, I was quite impressed by how
helpful Californians seemed to be ... until I
discovered what ".ca" really referred to.

--
(c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v6.05 MIME.
Web <URL:http://www.merlyn.demon.co.uk/- FAQish topics, acronyms, & links.
Plaintext, quoting : see <URL:http://www.usenet.org.uk/ukpost.html>
Do not Mail News to me. Before a reply, quote with ">" or "" (SoRFC1036)
Jun 25 '07 #6
In our last episode, <Xn****************************@69.28.186.121>, the
lovely and talented Adrienne Boswell broadcast on
comp.infosystems.www.authoring.html:
Gazing into my crystal ball I observed "David E. Ross" <no****@nowhere.not>
writing in news:WO******************************@iswest.net:
>My Web site is hosted by my ISP on an Apache server. Some of my pages
display dynamic "Last Updated" dates by using the LAST_MODIFIED
environment variable in the following SSI:
<!--#config timefmt="%e %B %Y" --><!--#echo var="LAST_MODIFIED" -->
Note that the formatting is for day month year.

The server is in the same time zone as where I live (just about 2 miles
away). When someone sees the "Last Updated" date, will they see it
according to the time zone of the hosting server? Or will they see it
adjusted to their own time zone?
It's whatever the time is on the server. If it's 15:00 EST on the server,
then it will print 15:00 EST.
Well, no, it won't because he has modified the timefmt.

--
Lars Eighner <http://larseighner.com/ <http://myspace.com/larseighner>
Countdown: 574 days to go.
Owing to googlegroups not screening users to eliminate spammers and other
USENET abusers, I do not see most posts from googlegroups.
Jun 25 '07 #7
Gazing into my crystal ball I observed Lars Eighner
<us****@larseighner.comwriting in
news:sl********************@goodwill.larseighner.c om:
In our last episode, <Xn****************************@69.28.186.121>,
the lovely and talented Adrienne Boswell broadcast on
comp.infosystems.www.authoring.html:
>Gazing into my crystal ball I observed "David E. Ross"
<no****@nowhere.notwriting in
news:WO******************************@iswest.ne t:
>>My Web site is hosted by my ISP on an Apache server. Some of my
pages display dynamic "Last Updated" dates by using the
LAST_MODIFIED environment variable in the following SSI:
<!--#config timefmt="%e %B %Y" --><!--#echo var="LAST_MODIFIED" -->
Note that the formatting is for day month year.

The server is in the same time zone as where I live (just about 2
miles away). When someone sees the "Last Updated" date, will they
see it according to the time zone of the hosting server? Or will
they see it adjusted to their own time zone?
>It's whatever the time is on the server. If it's 15:00 EST on the
server, then it will print 15:00 EST.

Well, no, it won't because he has modified the timefmt.
Very true - although however it's formatted, it will still be what ever
time it is on the server, not the client.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Jun 26 '07 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by androtech | last post: by
4 posts views Thread by Richard Hollenbeck | last post: by
2 posts views Thread by Tjerk | last post: by
9 posts views Thread by Thomas R. Hummel | last post: by
30 posts views Thread by Dr John Stockton | last post: by
1 post views Thread by Liz Malcolm | last post: by
12 posts views Thread by Assimalyst | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.