LoginSignup
2
0

More than 3 years have passed since last update.

iCaldendar RFC-5545: 毎月の末日をRRULEで求める

Last updated at Posted at 2019-08-08

本稿では毎月の末日を抽出するRRULEの書き方を紹介する。

RRULE:FREQ=MONTHLY;BYMONTHDAY=-1

このルールで抽出される日付の例はrrule.js demoで確認できる。

解説

FREQ=MONTHLYは月次で繰り返すの意味。

BYMONTHDAY=-1は、毎月の末日の後ろから1番目という意味。つまり末日になる。

参考文献

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0