This sample demonstrates displaying the times of countries and regions of the world for a date column value that includes the times
The countries and regions to display can be added or removed by editing the string of the first argument of the split operator on line 45. The following notes apply to editing that string.
List-Formatting/column-samples/date-world-time at master · pnp/List-Formatting · GitHub
SharePoint list formatting can be used to create custom views of data, making it easier for users to understand and interact with the information in the list. It can also be used to enforce consistency in data entry and to create business logic that helps automate tasks.
List formatting is available in both SharePoint Online and SharePoint Server 2019, and can be applied to any type of list, including document libraries, calendars, and tasks. SharePoint list formatting is an advanced feature that requires some knowledge of JSON code, but there are also pre-built templates and examples available to help get you started.
Use column formatting to customize SharePoint | Microsoft Learn
Under the List tab, click on the “Create Column” button in the ribbon. Provide the Name to your new column, specify the type as “Date and Time” Fill in other optional values and click on “OK” to create a date and time column in the SharePoint Online list.
Click on Settings gear >> Click on Site Information >> View all site settings (URL shortcut: /_layouts/15/settings. aspx). On the Site settings page, Under Site Administration, click on the “Regional settings” link. Click on the Locale drop-down list arrow and select the locale to display dates.
When you create a new date column in SharePoint, the default format is MM/DD/YYYY.