Re: DateLastModified, but what "date" ?



Reventlov schrieb:
Il giorno Wed, 02 Apr 2008 12:24:42 +0200, Freddy <freddy@xxxxxxxxxxxxxx> ha scritto:
I have googled this, and found MS doc., but as far as I can see, it only states that
somefile.DateLastModified returns the timestamp for the file.
My question is: what timestamp ?

I have made a small script, that uploads a site based on changes in the html-files. I compare the DateLastModified to the meta-tag "changed", updates the "changed" if necessary, and uploads the file. Works fine - except when we change to summertime - or vintertime. Now every file appears to be changed.

What "time" is returned ?
(And how do I get the "right" time).
Client OS is windows XP prof.

I probably don't understand the question, but did you try
dateserial(somefile.datelastmodified)?

As DateSerial(year, month, day) expects 3 parameters, I wouldn't
even ty this.

I *think* the problem description indicates that the date/time value
of this 'meta-tag "changed"' is given in UTC/GMT. To convert this to
local time (or vice versa) a look at

http://www.merlyn.demon.co.uk/

seems promising.
.



Relevant Pages

  • Re: DateLastModified, but what "date" ?
    ... somefile.DateLastModified returns the timestamp for the file. ... I have made a small script, that uploads a site based on changes in the ... Giovanni Cenati ...
    (microsoft.public.scripting.vbscript)
  • Re: receipt database mysql
    ... | I have searched all the web for a php script to store and view receipts. ... SELECT FileName ... INSERT INTO upLoads ... var skipValidation = false; ...
    (alt.php)
  • Windows Scripting - Timestamp, files, need help. :)
    ... I need to write a script in vbscript (I want to use ... Gets the Highest (most recent timestamp) and compares it to the current ... and formatting it YYYYMMDDHHMM ... formatting each item in the array into the format YYYYMMDDHHMM ...
    (microsoft.public.scripting.vbscript)
  • Re: Need to monitor when IP Address changes
    ... ifconfig to a text file and uploads it to a password-protected web ... I have a cron job scheduled every hour to run the script, ... after which you'll see the output of ifconfig. ...
    (freebsd-newbies)
  • Re: Problems with mkdir() and is_dir()
    ... directory in the uploads subdirectory. ... Here is a copy of a smaller script I threw ... The last two, PDFs and somecrap, are folders created with mkdir(). ... .pngs are files uploaded via a PHP script. ...
    (comp.lang.php)

Loading