function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shubham KhajjepawarShubham Khajjepawar 

2021-03-05 00:00:00_2021-04-30 00:00:00 inthat format date and time is shown i want to show only date inthat filed

Best Answer chosen by Shubham Khajjepawar
Danish HodaDanish Hoda
hi Shubham,
You can use Date.valueOf() method.

All Answers

Danish HodaDanish Hoda
hi Shubham,
You can use Date.valueOf() method.
This was selected as the best answer
Shubham KhajjepawarShubham Khajjepawar
Date.valueOf() Method not giving proper output as per my condtion
Danish HodaDanish Hoda
Hi Shubham,
May I know what is your condition, what you expect and what you are getting?
Shubham KhajjepawarShubham Khajjepawar
sloved the answer using string.valueof method