Click here to get back home

LAST_MODIFIED Date

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
LAST_MODIFIED Date David E. Ross 06-23-2007
---> Re: LAST_MODIFIED Date Adrienne Boswel...06-24-2007
---> Re: LAST_MODIFIED Date Nikita the Spid...06-24-2007
Posted by David E. Ross on June 23, 2007, 9:18 pm
Please log in for more thread options


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>

Posted by Adrienne Boswell on June 24, 2007, 12:04 am
Please log in for more thread options



> 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


Posted by Lars Eighner on June 25, 2007, 1:39 pm
Please log in for more thread options


lovely and talented Adrienne Boswell broadcast on
comp.infosystems.www.authoring.html:


>> 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.

Posted by Adrienne Boswell on June 26, 2007, 1:41 am
Please log in for more thread options


Gazing into my crystal ball I observed Lars Eighner

> the lovely and talented Adrienne Boswell broadcast on
> comp.infosystems.www.authoring.html:
>
>> Gazing into my crystal ball I observed "David E. Ross"
>
>>> 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


Posted by Nikita the Spider on June 24, 2007, 11:26 am
Please log in for more thread options



> 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

Similar ThreadsPosted
date format in forms? July 15, 2004, 12:54 am
DATE and TEXTAREA question December 12, 2004, 6:10 pm
Is there a way to get web page creation date? February 10, 2005, 12:30 pm
last modified date of a web page? March 8, 2005, 1:15 pm
Ho to get (and format) today's date? July 20, 2006, 1:43 pm
How to code "content-disposition" so that file modification date is maintained? April 22, 2006, 6:30 pm
Can searching be customized -- To focus search-results & find up-to-date content? August 1, 2006, 9:50 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap