Hello Nannu ,
This is because it uses server time when you are passing date from server action, OutSystems then converts date in UTC (Universal Time Coordinated).
Lets understand this through an example:
I am from India i.e., UTC+5.30.
If we consider this date 26/04/2022 00.00.00 (data type= date instead of datetime) then OutSystems automatically converts date to 25/04/2022 18.30.00 (in my time scenario)
For this you need to convert UTC to your time zone or use client action which will automatically covert to your time zone
Thanks and Regards,
Akshay Deshpande