ATF - server side script to set a future date always.

tiasha123
Tera Contributor

Hi, 

I have a requirement in atf to set the date field to be always in future using server side script .

How can we achieve this ?

 

Thanks , 

Tiasha

1 ACCEPTED SOLUTION

Hi @tiasha123 

 

No Server side script is required.

Shaqeel_0-1726818288696.png

 

Directly use the code like this.

 

Regards

Shaqeel


***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.

***********************************************************************************************************************





Regards

Shaqeel

View solution in original post

6 REPLIES 6

Hi @Shaqeel ,

how to make the year to be in future. the date is going to future say , 1 month from today but I want the year to be in future.

Hi @Shaqeel ,

any idea on how can we change the year as well ?