You could simply do (substitute in Time for DateTime if using straight Ruby -- i.e. no Rails): DateTime.now.strftime('%m/%d/%Y').
確定! 回上一頁