- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2024 05:53 AM
Hi,
How to get logged In user Time zone not from user preference Time Zone.
I have user this method - var time = new Date(); It was showing user Time zone. please find below screenshot. But I only want Time zone. How can we achieve this ?
Thank in Advance
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2024 06:13 AM
Hello @Community Alums
Assuming you want to read time zone value from the alert value in your screenshot, you can get same in client script as shown below:
var fullVal = new Date().toString();
alert(fullVal.substring(fullVal.indexOf("(")+1, fullVal.indexOf(")")));
Thanks,
Ali
Thank you,
Ali

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2024 06:00 AM
Hi,
Check below link, That might help you.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2024 06:09 AM
Still not get the answer, because it is not sys_user table Timezone and not user preference Timezone.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2024 06:13 AM
Hello @Community Alums
Assuming you want to read time zone value from the alert value in your screenshot, you can get same in client script as shown below:
var fullVal = new Date().toString();
alert(fullVal.substring(fullVal.indexOf("(")+1, fullVal.indexOf(")")));
Thanks,
Ali
Thank you,
Ali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2024 09:35 AM
@Ahmmed Ali Thank you so much this was helped