Very insightful article by Debajit !
Just to summarize –
If we are using SDK method from external application to set values for created on, modified on – we can use overriddencreatedon for created on. Modified on will be ignored.
Setting values in Pre-Create Plugin – values specified for both created on and modified on will be set in the record.