help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to compare time of last file modification?


From: Lars Magne Ingebrigtsen
Subject: Re: How to compare time of last file modification?
Date: Sun, 01 Jul 2012 12:13:44 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux)

Thorsten Jolitz <tjolitz@googlemail.com> writes:

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

Use `time-less-p':

time-less-p is a compiled Lisp function in `time-date.el'.

(time-less-p T1 T2)

Return non-nil if time value T1 is earlier than time value T2.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]