サクサク読めて、アプリ限定の機能も多数!
a2ikm のブックマーク 2014/11/13 12:19
2013-08-24[ruby][programming][time]2014/11/13 12:19
このブックマークにはスターがありません。 最初のスターをつけてみよう!
riocampos-tech.hatenablog.com2014/11/13
this_day = Date.today this_monday = this_day - (this_day.wday - 1) # 今週の月曜日 last_monday = (this_day - (this_day.wday - 1)) - 7 # 先週の月曜日 ポイントは、wdayメソッドで日付を曜日分逆算するこ...
1 人がブックマーク・0 件のコメント
\ コメントが サクサク読める アプリです /
a2ikm のブックマーク 2014/11/13 12:19
このブックマークにはスターがありません。
最初のスターをつけてみよう!
2013-08-24
riocampos-tech.hatenablog.com2014/11/13
this_day = Date.today this_monday = this_day - (this_day.wday - 1) # 今週の月曜日 last_monday = (this_day - (this_day.wday - 1)) - 7 # 先週の月曜日 ポイントは、wdayメソッドで日付を曜日分逆算するこ...
1 人がブックマーク・0 件のコメント
\ コメントが サクサク読める アプリです /