How to replace a time value

I've struggled to change a certain of time value for almost one day, which is turning the "12:00:00 AM"

Now I am trying to use "Generate Macro", but I have no idea how to write the function expression, could you please tell me?
Sincerely,
Starfish