I have a quota policy where reset should happen every hour (XX:00 - XX:59). I am using below code for this. But it does not seem to work. Please guide.
@Madhuri Sridharan , can you explain what do you mean “it does not seem to work” ??
Any error ? What you expected to see ? What you see ? Above question doesn’t give any information to help you further. Can you please update / add comments like Any error ? What you expected to see ? What you see ?
@ FloydJones , With start time, I should mention date and time. I want the counter reset to happen every hour. So please tell me what date and time values are to be entered.
@ AnilSagar, I am not getting any error. But counter reset was not happening at the top of the hour as mentioned in apigee docs.
Hi @Madhuri Sridharan - Try today’s date (or an earlier date), such as 2017-12-16 12:00:00. The time is in UTC, so you need to account for that. For example, in India you’d want to set 12:30:00 to hit the top of the hour.