returns "Tue Mar 13 2018 17:01:00 GMT+0200 (FLE Standard Time)"
Which means that this method much more data that we passing into (Tue Mar 2018 - current date). Is this expected behavior?
Thanks.
1 Answer, 1 is accepted
0
Viktor Tachev
Telerik team
answered on 15 Mar 2018, 11:14 AM
Hello Elvis,
The parseDate method will attempt to parse the provided string to a valid Date object. By default a Date will contain a date and also time, however, since the string that is passed as argument is only the time part the current date is used by default.
If your application requires only the time value you can ignore the date part as described in the stackoverflow article below: