https://stackoverflow.com/questions/5914020/javascript-date-to-string
Anonymous
Don't force yourself or others to reimplement functionality.