There is no difference in both statements, parenthesis are optional, So usually programmers drop it.
In your second example:
new Date().getTime();
one of good practice programmers follow to wrap object in parenthesis before calling function or property. so it will be:
(new Date()).getTime();
as discussed above object parenthesis are optional. So shorter cleaner code is:
(new Date).getTime();