Function File.getModifiedTime

Returns the last time the file was modified in unix timestamp format or returns a String "ERROR IN file". This unix timestamp can be converted to datetime by using OS.getDatetimeFromUnixTime.

long getModifiedTime (
  const(String) file
) nothrow @nogc const;