Problem with creation time of file

File.stat(Dir[“C:/Raj/Project/Output/Reports/*.xml”].first).ctime

This above code returns the time of Output folder creation(in the above
path), it’s not returning time of xml file creation, I think it happens
because this Output folder reside in the same folder of rb
file(executing this file for this work), If so, how would I able to get
the time of creation of xml file creation?