Skip to content

Instantly share code, notes, and snippets.

@Blake-C
Created September 2, 2015 21:37
Show Gist options
  • Save Blake-C/2c0d26545aacd663688d to your computer and use it in GitHub Desktop.
Save Blake-C/2c0d26545aacd663688d to your computer and use it in GitHub Desktop.
Add to google calendar sample format link
<a href="http://www.google.com/calendar/event?
action=TEMPLATE
&text=[event-title]
&dates=[start-custom format='Ymd\\THi00\\Z']/[end-custom format='Ymd\\THi00\\Z']
&details=[description]
&location=[location]
&trp=false
&sprop=
&sprop=name:"
target="_blank" rel="nofollow">Add to my calendar</a>
<a href="http://www.google.com/calendar/event?
action=TEMPLATE
&text=Read%20thesolutionsarchitect.net%20Announcement
&dates=20120820T130000Z/20120820T133000Z
&details=
&location=www.thesolutionsarchitect.net
&trp=true
&sprop=
&sprop=name:thesolutionsarchitect.net"
target="_blank" rel="nofollow">Add to my calendar</a>
@varunthefalcon
Copy link

may i know the date format of this ? 20120820T130000Z/20120820T133000Z
Im trying to format this using Javascript

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment