toTime() function issue
toTime() function issue
The following code:
alert(("26-Sep-2008 12:53:20").toTime());
return:
26-Sep-2008 00:00:00
the format supported by toTime() aren't documented but I would expect that one to be supported since it's the one returned by the datetime type. Is that a bug?
I populate a dropdown list with AddedTime values and I want to fetch records by comparing the selected value with the stored value. I need to convert back to the time format since this following code is invalid:
histo = historique[Added_Time.toString() == input.Dropdown_historique];