- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2017 05:55 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2017 06:38 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2017 06:38 AM
Yes, it was gs.getSession().getUser().getDateFormat()

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2017 06:34 AM
That method appears to return the time format, there's also one for date format, which I think is what Peter was looking for.
gs.getSession().getUser().getDateFormat()
I just ran it in scripts background like this:
gs.info(gs.getSession().getUser().getDateFormat());
and it appeared to print the right value although I didn't do any checking after switching my profile. Testing costs extra.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2017 06:46 AM
Yes, Testing costs extra

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2017 06:05 AM
Just go to user profile and check this field.
Date Format (date_format)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2020 01:05 AM
gs.info(gs.getSession().getUser().getDateFormat());
Will not work , if you are trying to run the script in bg script from a scoped app. This works on global scope only.