Data problem issues when is written on DB

For example I have a data and time constant with 01/01/2018 00:00. When I'm trying to write it inside the database somehow my timezone is applied. I tried to set the process to database timezone, applied gmt and local function, but I don't get the value of the above constant inside DB. Any ideas? Thanks

  Discussion posts and replies are publicly visible