calendar - How to format date-time for RFC2445 in PHP -
i working on google calendar api using php library , need set recurring event have create rrule string should of following format:
rrule:freq=weekly;until=20110701t170000z
i unable create date in above format. literally tried methods like:
date('ymdhis'); date(date_rfc2822); date('c');
but google doesn't accept of above formats. need make like: 20110701t170000z. can me on this?
thanks
this date format:
date('ymd\this\z')
becomes
20150429t154315z
look @ examples here: http://php.net/manual/de/function.date.php
Comments
Post a Comment