Compare 2 times
- From: loial <jldunn2000@xxxxxxxxx>
- Date: Wed, 6 Jun 2012 05:50:02 -0700 (PDT)
I have a requirement to test the creation time of a file with the
current time and raise a message if the file is more than 15 minutes
old.
Platform is Unix.
I have looked at using os.path.getctime for the file creation time and
time.time() for the current time, but is this the best approach?
.
- Follow-Ups:
- Re: Compare 2 times
- From: t_texas
- Re: Compare 2 times
- From: Nobody
- Re: Compare 2 times
- From: Alain Ketterlin
- Re: Compare 2 times
- Prev by Date: Re: English version for Mémento Python 3 (draft, readers needed)
- Next by Date: ttk.Spinbox missing?
- Previous by thread: How to exec() a string like interactive python does?
- Next by thread: Re: Compare 2 times
- Index(es):
Relevant Pages
|