Solved
Forum Discussion
senthkum
6 years agoContributor
Hi Mate,
Thanks for sharing the code, but unfortunately it did not work as excepted. It's still giving the result in the below format. "Tue Feb 18 09:55:01 AEDT 2020:INFO:2020-02-18". But I need only the date with "yyyy-MM-dd" format, bcoz I need to send the response based on condition like
1. current date - 7,
2. current date - fortnight,
3. current date - Month,
4. current date - Year,
Thanks
Senthil. M
nmrao
6 years agoCommunity Hero
It is highly appreciated if you can update the thread after the suggestions.