-
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 4 years, 6 months ago by
Swapnil Bhardwaj.
-
This discussion was modified 4 years, 6 months ago by
Log In to reply.
Popular Salesforce Blogs
How Salesforce CRM Can Enhance a Business?
Salesforce is among the most trendiest and trustworthy CRM solutions in the present era. We may have had heard about how young entrepreneurs make the…
Record Level Security in Salesforce
After you've finished configuring access rights at the object and field levels, you can go on to configuring access permissions for individual records. You can…
5 Things You Must Know About Salesforce Desk.com
No matter what business you are in, no matter what domain you work on, no matter how big or small scale you operate on, the…
Popular Salesforce Videos
Web Chats In Salesforce | Service Cloud | Kanika Chauhan
Salesforce Web Chat (previously known as Salesforce Live Agent) is a feature that allows customers to communicate with the company via the web through instant…
Salsa Engage Reports and Dashboards: Mission focused Data Visualization
A Salsa Engage integration with Salesforce gives you comprehensive reports and high-performance dashboards and helps you to optimize your fundraising goals and retain supporters. Get…
Engineer More Than Software at Salesforce
Salesforce engineers are builders. Together, we’ve created a platform that helps companies around the world connect with their customers. Driven by our commitment to trust,…
Popular Salesforce Infographics
Future of Salesforce CPQ
Salesforce CPQ is a highly dependable tool that provides an accurate pricing strategy by configuring, pricing, and quoting the products of each company based on…
Salesforce Data Migration Launch Plan Infographic
Discover the essential steps to successfully migrate your data to Salesforce with our comprehensive infographic. Our 10-step countdown will guide you through the process of…
Know 5 Reasons to Use Salesforce for Your Business
Salesforce is a customer relationship management (CRM) platform that can be used by businesses of all sizes to manage and analyze customer interactions and data.…