-
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 2 years, 9 months ago by Swapnil Bhardwaj.
Log In to reply.
Popular Salesforce Blogs
Salesforce Gearset Pipeline in 2024
In this article, I will tell you a bit about my experience with Gearset, one of the most popular Salesforce DevOps tools these days. It…
How Salesforce Sales Cloud changed the Sales Process at the EV Company?
The effectiveness of a company's sales operations can make or break it in the fiercely competitive Electric Vehicle (EV) market. Because of their complicated goods…
How to Manage Salesforce Integrations with Event Monitoring?
Salesforce offers several features and tools designed to improve business processes. One of the main aspects of leveraging Salesforce is integrating with other systems to…
Popular Salesforce Videos
Use cases Automation UiPath with Salesforce
The following video demonstrates a UiPath Robot automatically populating Salesforce using data read from an Excel spreadsheet....imagine how UiPath Robots could accelerate your Salesforce activities.…
How To Create Permission Set Group | Salesforce Development Tutorial
How to create permission set groups. This video will cover the following points - 1. Introduction Get a brief introduction about Permission Set Groups. 2.…
Salesforce Development Tutorial - sObjects
It is very easy to learn Salesforce with the world class training tutorial. Training is key for the right knowledge. Those who work as an…
Popular Salesforce Infographics
7 Key Factors to Keep in Mind When Selecting Salesforce CPQ Software
Today, sales teams are increasingly overwhelmed with complex product offerings and customers’ expectations to deliver quick and personalized experiences. That’s why, sales professionals are inclining…
How Does Salesforce Use Slack To Collaborate and Connect?
Salesforce and Slack bring together all your teams with the apps and data they need in a single, collaborative workspace. Plus, Slack Connect functionality lets…
5 Security Habits That Help Your Salesforce Admin Career
As Salesforce Admins, you drive results and deliver business value every day. You automate processes and make them more efficient. You can also learn more…