Date.parse() to convert timestamp to milliseconds

Hello,

Could you please let me know what is wrong for Date.parse() usage in Katalon Studio?
Thank you in advance for your answers!

This site says you may be using a deprecated, or non-existent, constructor that you should not use. It gives you some alternatives. In this case, Date can’t be used as a static like you have.

java.lang.IllegalArgumentException in Date java - Stack Overflow

And, you can also review the below link:

@yakovlieva.olena

You shouldn’t use java.util.Date class any longer. You should use Java 8 Date/Time API instead. Read the following article: