Service Virtualization

Expand all | Collapse all

Magic Dates - Delta + 1 Month

Jump to Best Answer
  • 1.  Magic Dates - Delta + 1 Month

    Posted 04-19-2018 07:49 AM

    Hi All,


    I am trying to get to Magic Date with current date plus 1 month. Not 30 days (30D). I need specifically 1 month.
    Is it possible?
    How can we get it?

  • 2.  Re: Magic Dates - Delta + 1 Month
    Best Answer

    Posted 04-20-2018 10:33 AM

    As is DevTest provides the functionality with days not like 1 month but I think customization is possible. You can do something like below to get the date you are looking in a Match Script or in your VSM and use that property in your response.


    Calendar cal = Calendar.getInstance(); 
    .add(Calendar.MONTH, 1);


    LocalDate futureDate =;