473,396 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 4567
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: androtech | last post by:
Hello, I'm looking for a function that returns a date range for a specified week number of the year. I'm not able to find functions like this anywhere. Any pointers/help would be much...
4
by: Richard Hollenbeck | last post by:
I'm trying to write some code that will convert any of the most popular standard date formats twice in to something like "dd Mmm yyyy" (i.e. 08 Jan 1908) and compare the first with the second and...
2
by: Tjerk | last post by:
Hello all, I have the script below to change an image depending on the date upto january it worked fine but then it just stopped working does anybody have an idea how I can make it work again or...
9
by: Thomas R. Hummel | last post by:
Hello, I am importing data that lists rates for particular coverages for a particular period of time. Unfortunately, the data source isn't very clean. I've come up with some rules that I think...
30
by: Dr John Stockton | last post by:
It has appeared that ancient sources give a method for Numeric Date Validation that involves numerous tests to determine month length; versions are often posted by incomers here. That sort of code...
3
by: captain | last post by:
Below is the sql for data with same date need to extract + or - 5 days data of same date also. How to also get data of + and - days related to same date. SELECT IM.Area, IM.Location,...
1
by: Liz Malcolm | last post by:
Hello and TIA. I have a DE form with an option group that if daily is selected todays date is used for start and end date, if weekly is selected Monday - Friday is used. I am trying to add a...
7
by: James P. | last post by:
Hello there, In my asp.net page using VB, I have a date text field in mm/dd/yyyy format. When a date is entered, I'd like to validate it to make sure the date is greater than or equal to the...
12
by: Assimalyst | last post by:
Hi, I have a working script that converts a dd/mm/yyyy text box date entry to yyyy/mm/dd and compares it to the current date, giving an error through an asp.net custom validator, it is as...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.