I'm currently creating a chatbot that books an appointment. I want to store user data value in my database without the timezone. As I have read on documentations MYSQL stores DATETIME without a time zone.
For example, a user asks "I want to book an appointment on December 04". The chatbot interprets its value as 2021-12-04T12:00:00+08:00. When storing it in my database I want it to be only 2021-12-04T12:00:00. I tried using replace() method but clearly doesn't work.