How do I get the file creation time in Ruby on Windows?

Viewed 13659

How can I get the file creation time in Ruby on Windows?

File.ctime is supposed to return change time.

dir /tc in cmd.exe returns creation time with bunch of other stuff.

Is there a better way than exec'ing it and parsing?

1 Answers
Related