Re: Compare 2 times

2012-06-09 Thread garabik-news-2005-05
t_texas wrote: > On Jun 6, 7:50 am, loial wrote: >> 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 a

Re: Compare 2 times

2012-06-06 Thread t_texas
On Jun 6, 7:50 am, loial wrote: > 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

Re: Compare 2 times

2012-06-06 Thread Jon Clements
On 06/06/12 14:39, Christian Heimes wrote: Am 06.06.2012 14:50, schrieb loial: 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 cre

Re: Compare 2 times

2012-06-06 Thread Nobody
On Wed, 06 Jun 2012 05:50:02 -0700, loial wrote: > 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 > tim

Re: Compare 2 times

2012-06-06 Thread William R. Wing (Bill Wing)
On Jun 6, 2012, at 9:45 AM, William R. Wing (Bill Wing) wrote: > On Jun 6, 2012, at 9:29 AM, Alain Ketterlin wrote: > >> loial writes: >> >>> 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. >>>

Re: Compare 2 times

2012-06-06 Thread Alain Ketterlin
Alain Ketterlin writes: > loial writes: > >> 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.t

Re: Compare 2 times

2012-06-06 Thread William R. Wing (Bill Wing)
On Jun 6, 2012, at 9:29 AM, Alain Ketterlin wrote: > loial writes: > >> 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

Re: Compare 2 times

2012-06-06 Thread Christian Heimes
Am 06.06.2012 14:50, schrieb loial: > 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

Re: Compare 2 times

2012-06-06 Thread Peter Otten
loial wrote: > 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 ctime is not actually the creation tim