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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -