Changed getDateString to use the users locale.