Ruby Get Current DateTime
require 'date'
current_datetime = DateTime.now
Seluj78
require 'date'
current_datetime = DateTime.now
require 'date'
date_time = DateTime.now
curr_date_time = date_time.strftime "%d/%m/%Y %H:%M:%S"
puts curr_date_time