I have a SQL Server database field named 'JoiningDate' which has the type date (no time part here).To Capture the input from the user I am using ngx-bootstrap datepicker but the problem is that whenever I select a date from the datepicker, the datepicker itself converting the selected date into utc datetime as follows:
Sometimes it mismatches the date part due the utc time part.
My questions are:
- How can I get the the selected date as plain string like jQueryUI Datepicker?
- What is the best option get the input date exactly as it shown in input field?
