Streamlit datetime_input

I am working on Streamlit Calendar app, Where i using date_input, time_input

instead can we use datetime_input

because i saw the similar feature in data_editor, where i can datetime

st.data_editor(
    data_df,
    column_config={
        "appointment": st.column_config.DatetimeColumn(
            "Appointment",
            min_value=datetime(2023, 6, 1),
            max_value=datetime(2025, 1, 1),
            format="D MMM YYYY, h:mm a",
            step=60,
        ),
    },
    hide_index=True,
)

datetime

It is requested at Add datetime input Β· Issue #6089 Β· streamlit/streamlit Β· GitHub

2 Likes

@fredy Thanks for the response

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.