Advanced Designer Learning Path is now live! Read More

Date parameter in Custom plugin

Level 3
Date parameter in Custom plugin


I noticed that when using the date parameter in the custom plugin, the actual value does not get reflected in the backend.

Values provided from frontend: (Default Format: mm/dd/YYYY)

"startDate": "5/8/2020"
"endDate": "6/8/2020"

Values received on backend:

Dataset Config: {'startDate': '2020-05-07T18:30:00.000Z', 'endDate': '2020-06-07T18:30:00.000Z', 'login_preset': {'domain': 'X', 'username': 'X', 'password': 'X'}}

Apparently, it shifts the date to one day behind. Why is it so?

0 Kudos
2 Replies


My guess is that this is some how based on local time zones.

Are you or your server in 


If so here is another thread where we are discussing a similar situation.

You might look at passing a time zone from the front end to the backend.

Level 2

Hi @piyushk ,

Just wondering, were you able to get this to work ?
I have a similar issue where the date parameter automatically adjusts with the webusers timezone.

0 Kudos
A banner prompting to get Dataiku DSS