Typescript Create Date From String Javascript Methods W3schools