Once imported, we can get the current date by creating an object to denote the current day. require 'date' cur_date = Date.today puts cur_date.
確定! 回上一頁