taewooNew Contributor15 years agoGroovy: How to convert UTC time into integer?I have a timestamp in this format: 2009-09-10T15:00:00Z how do I convert this to integer (seconds since 1970)?
taewooNew Contributor15 years agoThanks Robert.does your code sample take into account the letters "T" and "Z" in the time string?
Related ContentGroovy Script convert string to integerGroovy scripting - converting string property to integer while sending soap request by setPropertyhow to add leading zero to a string or integer using groovy scriptHow do you convert SOAP Response to double or integer?Need help with converting a String Property to Integer while Sending a soap request
Recent Discussionscommand line on how to retrieve license file ?How to avoid JDBC connection password saving/visibility in exported .xml ready API file of project.Darshan Hiranandani : Exploring ReadyAPI Integration with Azure GitHow to hit update service multiple time with different data set.How do I prevent a file path from being altered when being parsed by JsonSlurper in Groovy Script?Solved