[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[DotGNU]System/IO/File.cs ... silly doubt
From: |
Gopal V |
Subject: |
[DotGNU]System/IO/File.cs ... silly doubt |
Date: |
Sun, 22 Sep 2002 14:34:39 +0530 |
User-agent: |
Mutt/1.2.5i |
public static DateTime GetLastAccessTime(string path)
{
long time;
DirMethods.GetLastAccess(path, out time);
DateTime datetime = new DateTime(time);
return
DateTime.Parse(String.Concat(datetime.ToShortDateString(), " ",
datetime.ToShortDateString()));
}
What is the last line for ? .. why wouldn't 'return datetime' work ?
Gopal
--
The difference between insanity and genius is measured by success
- [DotGNU]System/IO/File.cs ... silly doubt,
Gopal V <=