JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Gantt › Date is changing › Reply To: Date is changing
December 21, 2022 at 7:02 am
#104146
svetoslav_borislavov
Participant
Hi,
In what format does the date come from the DB?
The getMonth() method of the date object returns a zero-based value.
Please share an example date object from the DB and how you parse it to JS Date object or how you pass it to the gantt
Best Regards,
Svetoslav Borislavov
Smart UI Team
https://www.htmlelements.com/