Forum Discussion

Karthik_K's avatar
Karthik_K
New Contributor
5 years ago

Date.Format failing after upgrading ReadyAPI to version 3.3.1

After upgrading ReadyAPI to 3.3.1 from 3.3.0 the following Groovy script started failing with error "No signature of method: java.util.Date.format() is applicable for argument types: (String) values:...
  • Karthik_K's avatar
    Karthik_K
    5 years ago

    This works as well

    "def lastUpdatedDateTimeUTC =  new java.text.SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss").parse(lastUpdateDate)"