You need to sign in to do that
Don't have an account?
Priya Mishra
visualforce datetime
Hi All,
i have to display the day with the date formate in vf page. below is the formate which i am using.
timeStrDt = evStartDateTime.format('MMMMM dd, yyyy',userTimeZone);
but is displaying like March 06, 2019 at 11:33:00 PM IST .
but i want the Wed March 06, 2019 at 11:33:00 PM IST
how we can do this.
Thanks in advance
i have to display the day with the date formate in vf page. below is the formate which i am using.
timeStrDt = evStartDateTime.format('MMMMM dd, yyyy',userTimeZone);
but is displaying like March 06, 2019 at 11:33:00 PM IST .
but i want the Wed March 06, 2019 at 11:33:00 PM IST
how we can do this.
Thanks in advance
here is the code snippet from the below link to achieve what you looking for.
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_datetime.htm
code snippet
Hope this Helps.Mark it as best answer if it works. so others can benefit.
Regards,
Santosh.
Is there any other way to do that.
Hi Priya,
Here is the code snippet you looking for.
Hope this helps!
Regards,
Santosh.