Forum Discussion
vaidyarm
7 years agoContributor
Ex :
2019-08-09T06:51:07.000
this need to be converted like : 2019-08-08T00:00:00.000
- cjhoward187 years agoEmployee
This expression:
Date.parse(“2019-08-09T06:51:07.000”).minusDays(1).toLocaleDateString()+“T00:00:00.000”results in: 2019-08-08T00:00:00.000
Note the only change in the expression from your original one is the use of Date.parse() instead of LocalDateTime.parse()