TimeSpan Object

  • Thread starter Thread starter Philip Townsend
  • Start date Start date
P

Philip Townsend

I need to determine if a file's last write time is greater than 15
minutes. Is there a simple way to do this with the TimeSpan object?
Thanks!
 
TimeSpan ts = ....
.....
if (ts.TotalMinutes > 15.0)
{

}

Tu-Thach

----- Philip Townsend wrote: -----

I need to determine if a file's last write time is greater than 15
minutes. Is there a simple way to do this with the TimeSpan object?
Thanks!
 
Back
Top