This method is strftime , which basically means 'format time'. ... Time.now - 86400. If you are using Rails then you can do this: Time.now - 1.day ...
確定! 回上一頁