Is there a way to get the date format of the client through javascript?