Is there a date function in Ruby?

后端 未结 0 619
遇见更好的自我
遇见更好的自我 2020-12-28 15:40

I have day and month. I want to know that given date with day/month is expired or not in given year.

Eg. day: 2, month: feb (2nd feb)
case 1.
  if today is 10         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题