Is there any method to get current Date, similar to getTime method

Right, you need the let before that as I suggested above

1 Like