biggner needs help in dates

Hello. What field type are you using in the collection? If it is a date field, then my guess is that toLocaleString is what is messing you up because when you use that, the date is no longer a date object but a string.