Freddy
11 years agoOccasional Contributor
Date/time validations in Groovyscript
Hi,
I recently started Groovy Script and I have a question about date/time functions.
In my xml reply I get a timestamp back in the following format: yyyy-MM-ddThh:mm:ss.sssssss
For example: 2014-06-04T14:04:54.6345978
Using Groovyscript I would like to determine if (systemdate - the returned timestamp) <= half an hour.
Anyone any suggestion on how to do this?
Thank u very much in advance.
I recently started Groovy Script and I have a question about date/time functions.
In my xml reply I get a timestamp back in the following format: yyyy-MM-ddThh:mm:ss.sssssss
For example: 2014-06-04T14:04:54.6345978
Using Groovyscript I would like to determine if (systemdate - the returned timestamp) <= half an hour.
Anyone any suggestion on how to do this?
Thank u very much in advance.