unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Thorsten Jolitz <tjolitz@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: How to compare time of last file modification?
Date: Sun, 01 Jul 2012 02:38:27 +0200	[thread overview]
Message-ID: <87fw9cz56k.fsf@googlemail.com> (raw)


Hi List, 
the Elisp manual tells me about file-attributes:


     4. The time of last access, as a list of two integers. The
        first integer has the high-order 16 bits of time, the
        second has the low 16 bits. (This is similar to the value
        of current-time; see Time of Day.) Note that on some
        FAT-based filesystems, only the date of last access is
        recorded, so this time will always hold the midnight of the
        day of last access.
       
     5. The time of last modification as a list of two integers (as
        above). This is the last time when the file's contents were
        modified.


If I want to compare the time of last modification of two files - how do
I do that, using these two integers? 

-- 
cheers,
Thorsten





             reply	other threads:[~2012-07-01  0:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-01  0:38 Thorsten Jolitz [this message]
2012-07-01  0:41 ` How to compare time of last file modification? Thorsten Jolitz
     [not found] <mailman.3790.1341102956.855.help-gnu-emacs@gnu.org>
2012-07-01  1:16 ` Pascal J. Bourguignon
2012-07-01  8:56   ` Thorsten Jolitz
2012-07-01  9:23   ` Michael Albinus
2012-07-01 10:13 ` Lars Magne Ingebrigtsen
2012-07-01 17:26   ` Thorsten Jolitz
     [not found]   ` <mailman.3833.1341163416.855.help-gnu-emacs@gnu.org>
2012-07-01 17:36     ` Pascal J. Bourguignon
2012-07-01 21:11       ` Lars Magne Ingebrigtsen
2012-07-01 19:48     ` Barry Margolin
2012-07-01 20:26       ` Thorsten Jolitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fw9cz56k.fsf@googlemail.com \
    --to=tjolitz@googlemail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).