Actually I need to create an event in Google Calendar using my app. Every thing working fine I am not able to create desire start time and end time. Can any body please help me to tell how can I generate dtstart n dtend. i.e. I need to create an event for 20/12/2010. please
开发者_如何学Gothanks
For your example, DTSTART=20101220, DTEND=20101221 since the end is exclusive.
See RFC 2445 for details, but the basic grammar is below:
date = date-value
date-value = date-fullyear date-month date-mday
date-fullyear = 4DIGIT
date-month = 2DIGIT ; 01-12
date-mday = 2DIGIT ; 01-28, 01-29, 01-30, 01-31
; based on month/year
精彩评论