new Date().getTime(); Date.now(); // These method are the same// The unary operator (`+`) calls the `valueOf` method automatically+new Date();new Date().valueOf();