-
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
Salesforce Dataloading — Common Pitfalls
If you are a Salesforce Administrator in a large company, you inevitably get to do a lot of data loading. But existing tools like dataloader.io…
All You Need to Know About Permission Sets
Salesforce Profiles and Permission sets control what users can access, see, and do in your Salesforce org. This permission management is a critical activity in…
Popular Salesforce Videos
How to Create Opportunity Teams | Salesforce Tutorial
Want to give all the people who help out on your opportunities easy access to the opportunity record in Salesforce? Or maybe you've got an…
Signing Up for a Free Salesforce Account
From Salesforce instructor, Become a Salesforce Expert. Sign up for a free Salesforce account and learn more about this technology. Mike Wheeler - http://mikewheelermedia.com
Salesforce Consulting - WHAT YOU NEED TO KNOW
If you're already working as a Salesforce Professional or you're interested in where your Salesforce Career will take you this is for you. This explains…
Popular Salesforce Infographics
Why You Should Know About Order to Cash Process - Step by Step | Salesforce Guide
The order-to-cash (O2C) process is a defining part of a company’s success, and it also plays a big role in driving an organization’s relationship with…
Salesforce Data Migration: Best Practices to Ensure a Smooth Transition
Migrating data to Salesforce can be a daunting task, but it doesn't have to be. By following a few best practices, you can ensure a…
ABC's of Salesforce's Apex Coding Language
Apex is a proprietary language developed by Salesforce.com. It is a strongly typed, object-oriented programming language that allows developers to execute flow and transaction control…