Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Salesforce
  3. Question
Salesforce

How can we set timezone for “Date” Field should be set to 'Australia/Melbourne'

Asked by Delbert Rauch Aug 5, 2021 2.6K views 2 answers
Share

About this question

I need help from experts for a lightning data table with 'Date' type field. I want to strictly set it's timezone to 'Australia/Melbourne' irrespective of user's local timezone. For example, Even if an user from India is checking the record, the 'Date' field should display data in 'Australia/Melbourne' timezone only. How can i set australia date and time in lightning data table.

I am using the below code, but it is not working :

const columns = [ { fieldName: "Date", hideDefaultActions: true, label: "DATE", type: "Date", sortable: "true", typeAttributes: { timezone: 'Australia/Melbourne' } } ]

Let me know if any further inputs needed from my end. Thanks!


Your answer

2 Answers

Madeline Heathcote Latest answer

Answered on Mar 25, 2025

This test can be effective for students here. Changing the time zone Geometry Dash appropriately also makes school activities run as smoothly as possible.

Was this helpful?

More Salesforce discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.