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 )