Date.parse(Time.now.strftime('%Y/%m/%d')) ... If you're not working on a Rails application, you could always borrow their implementation.
確定! 回上一頁