initializa a new current date ruby code example Example: ruby get current datetime require 'date' current_datetime = DateTime.now