TimeSpan Object

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!
 
G

Guest

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top