method

sec

v2_6_3 - Show latest stable - Class: DateTime
sec()
public

Returns the second (0-59).

DateTime.new(2001,2,3,4,5,6).sec          #=> 6