Skip to content

How to get year, month, day and name from event? #73

Answered by kuzmoyev
TheXer asked this question in Q&A
Discussion options

You must be logged in to vote

You can find all the fields of the event object here.

In short:

event.summary
event.start.year (.month/.day)

In general for python, try looking into .__dict__ of the object:

event.__dict__

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kuzmoyev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants