-
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, 5 months ago by
Swapnil Bhardwaj.
-
This discussion was modified 4 years, 5 months ago by
Log In to reply.
Popular Salesforce Blogs
Digital Printing on Fabric: Complete Guide
Digital printing on fabric is a textile decoration method that uses digital technology to apply designs directly onto fabric. A design created on a computer…
Significance of Salesforce Commerce Cloud Order Management
In online shopping, few things surpass the thrill of getting a package delivered to your doorstep. For the consumer, the delivery is a successful final…
Popular Salesforce Videos
Parent to Child SOQL vs Map | Salesforce Training in Apex
Watch this video to learn all about Parent to Child SOQL vs Map. Do let us know in the comment section if you have any…
Transition to Salesforce Lightning Experience
Transition to Salesforce Lightning Experience for Overall Navigation, Global Search, Home Page, Accounts, Leads and Opportunities. This video walks you through the recommended process, including…
Nonprofit Summit 2022 - Go Further with Salesforce Reports and Dashboards Hands-on Training
Salesforce reports and dashboards are the analytical sides of CRM. They are used to convert business requirements into Visual representations like Graphs, Pie Charts, Tables,…
Popular Salesforce Infographics
State of Appexchange Salesforce Apps Market 2025
The Salesforce AppExchange continues to expand, providing businesses with innovative tools to enhance their Salesforce experience. With thousands of solutions available, the marketplace has become…
Salesforce IoT Cloud System - Connect With Your Customers Proactively
The Salesforce IoT Cloud is a platform for storing and processing IoT data. It uses the Thunder engine for scalable, real-time event processing. Its collection…
Explore The Salesforce Support Services Process Chart
This infographic helps you to explore the Salesforce Services process chart. Go through it and let me know in the comments in case of any…