Date mismatch

0
I have date field that hold the current day and date (i.e.,19/04/2024) and i have a variable to store the previous day, when debugging and checking the variable still shows 19/04/2024, according to the script addDays($CurretnDate, -1) it should take 18/0/2024 right?   The variable that holds the previous day return this: UTC time: 2024-04-18 20:30:00.000Session time: 2024-04-19 02:00:00.000 +0530   Any idea would be helpful   Thanks in advance
asked
1 answers
0

Is the time portion relevant? If not you would want to look into non localized date/time fields.

 

answered