title: Why I get warning FileAge deprecated
body: <p>I am trying to use the function <code>FileAge</code> to get file date and time but I get warning in Delphi 10.3 that this function was deprecated so what I should use ? I am going to use for both Windows and OS X. I use it like this:</p>
  
  <pre><code>var
  fileDate: Integer;
  Begin
  
    fileDate := FileAge(path + fileName);
  
  end;
  </code></pre>