Questions tagged [filetime]

Use this tag for questions related to Windows FILETIME data structure.

FILETIME is a Windows time 64-bit structure representing the number of 100-nanosecond intervals since January 1, 1601 (UTC).

92 questions
-2
votes
2 answers

How to change filemtime files directory delete?

I have the following codes. $days = 7; // Check if the file is older than X days old if (filemtime($path.$file) < ( time() - ( $days * 24 * 60 * 60 ) ) ) { // Do the deletion unlink($path.$file); } I want to change $days to…
-3
votes
3 answers

how to get the newest created file in a directory using only GetFiles in System.IO Namespace in C#

I would like to create a method which returns me the newest created file in a Directory in C# with the preferred usage of the Directory.GetFiles() method in the System.IO Namespace. Maybe it's possible to do it also without LINQ to keep it…
feedwall
  • 1,473
  • 7
  • 28
  • 48
1 2 3 4 5 6
7