P
Peter Bailey
Hello,
I need to notate the date/time attributes of files. I'm using File.ctime
and trimming it back to show just day, date, and time.
filetime = File.ctime(txtfile)
filetime = filetime.to_s.gsub!(/ -.*$/, "")
But, I've noticed that files that list in the directories as being dated
November 8 are showing via ctime as November 13 files. What's up?
Thanks,
Peter
I need to notate the date/time attributes of files. I'm using File.ctime
and trimming it back to show just day, date, and time.
filetime = File.ctime(txtfile)
filetime = filetime.to_s.gsub!(/ -.*$/, "")
But, I've noticed that files that list in the directories as being dated
November 8 are showing via ctime as November 13 files. What's up?
Thanks,
Peter