I am building groovy test and have the String
in Properties:
date = new Date("09/15/2016")
Need to extract the String
part with date like:
y=09/15/2016
I tried with substring
method and it works but what if I want to use other methods like Regular expression or DateFormat?