-
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, 8 months ago by Swapnil Bhardwaj.
Log In to reply.
Popular Salesforce Blogs
Resolution of Managed Packages - Salesforce DX Developer Guide
Working with Salesforce DX for the resolution of managed packages: First, we create an org and enable the DX version in it that is DEVHUB.…
6 Best Resources To Get You Started With Salesforce Marketing Cloud
At DESelect, we help customers succeed with segmentation in Salesforce Marketing Cloud (SFMC), and the first place to start is a good foundation. Therefore, in…
How Hiring a Salesforce Implementation Partner Could Benefit the Healthcare Sector
Digitalization of healthcare is a complex task due to the sector's unique challenges, such as handling various types of data and interdependent roles. Salesforce implementation…
Popular Salesforce Videos
Salesforce Platform Quick Tip: How to Access Popular Items in a Single Click
Want to get to the things you use most with fewer clicks? Trailblazer and Senior Salesforce Developer, Ellie Matthewman shows us how to use favourites…
How to implement Salesforce shield in 20 min?
Many organizations have “bought” Salesforce Shield but haven’t implemented it yet, due to some complexities that come along with security-related products. Pete and Brian will…
Salesforce AppExchange Pricing Models
Salesforce AppExchange offers a wide range of solutions and applications designed to enhance and extend the functionality of Salesforce. However, understanding the pricing models can…
Popular Salesforce Infographics
Growth of Salesforce (Data and figures)
Salesforce.com is the #1 Customer Relationship Management (CRM) company in the world with regard to the market share. It provides numerous CRM software that helps…
Back to Basics: Salesforce Data Loading
Discover best practices for Salesforce data loading straight from the dataloader.io community with this useful Salesforce infographic. Users can quickly and easily delete or move…
Six Steps To Success With Salesforce Chatter
Salesforce Chatter helps to connect every employee with files, data, and experts they need anywhere anytime. Thereby enhancing productivity, accelerating innovation, sharing knowledge and a…