Solved: How To insert an event into Google Calendar?

You also can set a recurrence rule. See last blocks on the list.

Will be repeated every week on tuesdays and thursdays. This will be done 2 times.

So if you want to set a birthday for instance you can use the string.
image

Still haven’t found the setting for an allday event.

This is more info on the rrule possibilities:

Recurrence rule

Recurrence rule defines the repeating pattern for recurring events. It is in form of string. For example, FREQ=WEEKLY;BYDAY=MO;COUNT=3 represents a pattern repeating 3 times on every Monday weekly, i.e. Monday, 2019-Nov-05 & 12 & 19.

The rule is written in the format of {rule_name}={rule_value} and concatenated with others with semicolon ; .

There are lots of global standard recurrence rules. Here are the four common rules which could be able to handle most cases — FREQ , UNTIL , COUNT and BYDAY .

1. FREQ (Frequency)

Frequency defines how often the pattern is repeated. It accepts the following parameters:

  1. DAILY
  2. WEEKLY
  3. MONTHLY
  4. YEARLY

Example: FREQ=DAILY

2. UNTIL

UNTIL defines the end date of the frequency. It accepts a value in date format of yyyyMMdd'T'HHmmss'Z' , e.g. “ 20191105T000000Z”

Example: FREQ=DAILY;UNTIL=20191105T000000Z means repeating the event every day until the 5th November, 2019.

3. COUNT

COUNT defines the number of occurrence of the frequency. It accepts an integer value.

Example: FREQ=DAILY;COUNT=10 means repeating the event every day for 10 rounds, i.e. 10 days.

4. BYDAY

BYDAY defines the list of weekday that the repeating pattern should be applied. It accepts the following parameters:

  1. MO (Monday)
  2. TU (Tuesday)
  3. WE (Wednesday)
  4. TH (Thursday)
  5. FR (Friday)
  6. SA (Saturday)
  7. SU (Sunday)

Example: FREQ=WEEKLY;BYDAY=MO,FR means the pattern repeats on every Monday and Friday weekly.

Practical examples:

  1. Repeat yearly on the upcoming 3 years
    FREQ=YEARLY;COUNT=3
  2. Repeat monthly until 1st January, 2020
    FREQ=MONTHLY;UNTIL=20200101T000000Z
  3. Repeat every Monday and Thursday on the upcoming 3 weeks. Count is 6 since total occurrence is 2x3 = 6.
    FREQ=WEEKLY;BYDAY=MO,TH;COUNT=6
  4. Repeat weekly on Monday until 1st January, 2020 FREQ=WEEKLY;BYDAY=MO,TU;UNTIL=20200101T000000Z

Trick on Recurrence Rule

UNTIL and COUNT contradict with each other. UNTIL defines the end date of the frequency. COUNT defines the number of occurrence of the frequency.

Android would ignore the presence of COUNT if UNTIL is presented, i.e. FREQ=DAILY;COUNT=10;UNTIL=20191105T000000Z equals to FREQ=DAILY;UNTIL=20191105T000000Z

9 Likes