# Problem with node-red-contrib-google-calendar

**URL:** <https://discourse.nodered.org/t/problem-with-node-red-contrib-google-calendar/54467>\
**Category:** General\
**Created:** [29 November 2021 16:06 UTC](https://discourse.nodered.org/t/problem-with-node-red-contrib-google-calendar/54467 "2021-11-29T16:06:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![WernerM96](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wernerm96/32/46471_2.png) [@WernerM96](https://discourse.nodered.org/u/WernerM96)\
**Post date:** [29 November 2021 16:06 UTC](https://discourse.nodered.org/t/problem-with-node-red-contrib-google-calendar/54467/1 "2021-11-29T16:06:38Z")

</div>

Hey,

i have a problem with the node-red-contrib-google-calendar.  
I would like to get some events of the current day with this function:

```auto
const startDate = new Date();
const endDate = new Date();

endDate.setHours(22);
endDate.setMinutes(59);
endDate.setSeconds(59);

msg.payload = {calendarId:"xxxxxx", maxResults: "20"};
msg.payload.timeMin = startDate.toISOString();
msg.payload.timeMax = endDate.toISOString();
return msg;

```

But i can do what i want - the getEvent only takes the configuration of its own node.

 ![NodeRed1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/c/3cdd8194bc5e6c37a3b2028de2eb1c32b471df82.jpeg)

So it don't takes the timeMin and timeMax. Why?  
Does anybody work with this node which a similar application?

I wish you a nice day,  
WernerM96

---

<div class="post-metadata">

**Author:** ![WernerM96](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wernerm96/32/46471_2.png) [@WernerM96](https://discourse.nodered.org/u/WernerM96)\
**Post date:** [1 December 2021 15:59 UTC](https://discourse.nodered.org/t/problem-with-node-red-contrib-google-calendar/54467/2 "2021-12-01T15:59:40Z")

</div>

Nobody can help me?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [30 January 2022 16:00 UTC](https://discourse.nodered.org/t/problem-with-node-red-contrib-google-calendar/54467/3 "2022-01-30T16:00:31Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
