How to convert input from a streamlit time input widget to milliseconds since Unix Epoch? Time of the day comes from the time input widget and date have in the following string format
day = '20240325' #YYYYMMDD
time = st.time_input('Execution time', step=0:1:00)
print(time_in_ms_since_epoch)
U need multipy total seconds with 1000 to get Unix Epoch. I wrote simply code I hope u can understand.
Conver date_time which is string to datetime.
Create epoch time.
Unix Epoch part