-
how to use lightning:formatteddatetime to display format 'M/D/YYYY h:mm'
I am using lightning formatted date time as below
`
` <lightning:formattedDateTime timeZone="{!$Locale.timezone}" value="{!ediary.VTD1_Completion_Time__c}" month="numeric" day="numeric" year="numeric" hour="2-digit" minute="2-digit"/> It displays in below format 15/2/2022, 11:31 am. that is DD/MM/YYYY, hh:mm I want the date to be displayed in MM/DD/YYYY. How can i achieve this format with lightning:formattedDateTime-
This discussion was modified 3 years, 9 months ago by
Swapnil Bhardwaj.
-
This discussion was modified 3 years, 9 months ago by
Log In to reply.
Popular Salesforce Blogs
How to de-stress your support agent by improving collaboration with the product team?
Customer support agents are always on an expedition to find the right information. But the lack of proper tools/resource and the lack of collaboration with…
All You Need to Know About DupeCatcher Salesforce
Duplicate records can be a headache for any Salesforce admin or user. Not only do they clutter up the database and make it difficult to…
Salesforce Lightning Bolt: Create Gen-next Portals At Lightning Speed
Ever since the launch of Community Cloud in the year 2013 it has received overwhelming responses from business ranging from small startups to big enterprises.…
Popular Salesforce Videos
Salesforce India Engineer Salary Revealed | Salary Break Up | Company Review
In this video, Soumyajit Bhattacharyay has given a detailed review of Salesforce. Talked about the tech stack that they work in. Talked about their offices…
Integer Datatype | Primitive Datatypes in Apex | Salesforce Development Tutorials
Shrey covered the following questions in this video: What are the different types of Datatype? What are Primitive Datatypes? What is the Long datatype? What…
How to Filter and Organize Your Data | Salesforce Essentials
In this video, you will learn how list views help you group people and deals so you can find the data you need faster. Salesforce…
Popular Salesforce Infographics
How Important Is CRM Today? | An Infographic
CRM or Customer Relationship Management has become unavoidable and imperative in the world of business to reach the desired level of success. It has reached…
In 2021, Keep An Eye On The Following Salesforce Trends
Salesforce is the most popular customer relationship management (CRM) software. Salesforce has solutions for your sales, marketing, IT, service, and commerce teams so you can…
Dreamforce Facts & Numbers INFOGRAPHIC
We are now just a week away from the biggest Cloud carnival of the world ‘Dreamforce‘. Trailblazers from across the globe will be in San…