How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Get user Timezone

calendar_today June 9, 2026 person @Marco5 Informatica domain streamlit

Streamlit already implements such a feature and that information is included into the context attribute. Here is a minimal code example to test: import streamlit as st #… st.write(st.context.timezone) st.write(st.context.timezone_offset) And this returns the following: Take a look at the documentation page for the complete list of information include in the st.context: docs.streamlit.io st.context - Streamlit Docs st.context displays a read-only dict of cookies and headers.

open_in_new Read original post