Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
Menu
Get file creation time : ctime « File Directory « Ruby
Ruby
File Directory
ctime
Get file creation time
File
::ctime(
"access.rb"
)
Related examples in the same category
1.
Find out when a file was created, modified, or last accessed with ctime, mtime, and atime, respectively