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