Skip to main content
seanmcp.com

Note #10


To find the date a file was created in Node, you can use the fs.stat or fs.statSync methods and look for birthdate. See this answer on StackOverflow.

This might work differently based on your operating system, so your mileage may vary.