I am trying to create event in google calendar with php only for week days(Mon-Fri) but it is not creating correctly. I am using the rule,
'RRULE:FREQ=WEEKLY;' . 'UNTIL=' . date('Ymd\THis\Z', strtotime($endDateTime)) . ';WKST=MO;BYDAY=MO,TU,WE,TH,FR;'