I am using two different Datepickers to select the start and end date.For the day and month and year I choose, I want to get the moment that day began.For example 18 September 2018, 18 September 2018 and the hour 00.00. I would like to disable GMT
differences if possible. With datepicker
, I share the logs for the dates I selected.
D/START DATE: Sun Sep 23 18:23:51 GMT+03:00 2018
D/END DATE: Sun Sep 30 18:23:51 GMT+03:00 2018
The logs I want are as follows:
D/START DATE: Sun Sep 23 00:00:00 2018
D/END DATE: Sun Sep 30 23:59:59 2018
This means that any time within the start day must be valid and any time until the end date ends for the end date. How do I make that happen?