AnsweredAssumed Answered

Time conversion and compare

Question asked by kGuhan7 on Jun 12, 2018
Latest reply on Jul 8, 2018 by Mark_HE

Hi All,

 

I need a help to convert input date/time and compare with current date/time.

 

In one variable we are storing date/time value  like "Thu Apr 18 13:51:32 CEST 2019" and this value will change for each request but the format is same. as per the requirement we need to compare the variable time with current gateway time and if the current gateway time is less than or equal to 30days from variable date/time then it should stop..else its should pass.

 

please help me to develop service for above requirement.( policy xml or assertion screenshots will help lot )

 

Thank you

Sudha. 

Outcomes