NOTE: This method is now obsolete.
Use FileUtil.GetFileTime instead
Gets the last modified time of a file.
The last modified time of the file as a string.
If the file does not have a last modified time, blank is returned.
string lastModified = MainUtil.GetFileTime("/robots.txt");
MainUtil Class | Sitecore Namespace