method

ctime

v2_6_3 - Show latest stable - Class: Time
ctime()
public

Returns a canonical string representation of time.

Time.now.asctime   #=> "Wed Apr  9 08:56:03 2003"
Time.now.ctime     #=> "Wed Apr  9 08:56:03 2003"