ramzsvs
5 years agoOccasional Visitor
How to covert milliseconds to UTF date format to verify from DB
When I send request I am getting response in milliseconds [1576522684000], how can I covert it to UTF date format 2019-12-16-13:58:06.070000 to validate my request and DB response. Thanks in advance.
Hey ramzsvs
Sorry, i only just noticed this ticket, f youre still struggling, try thisdef milval=testCase.getPropertyValue("valuepropname").toLong log.info new Date(milval).format("yyyy-MM-dd'T'Hh:mm:ss.SSS'Z'")
Ta
Rich