Hi @bentalgad ,
Thanks a lot for reaching out.
You may consider adding the date in the correct format to the wp_update_post.
This will ensure that only the specified format is saved.
https://codex.wordpress.org/Function_Reference/wp_update_post
Hope this helps.