How to populate CreatedOn with a date in the past

So you are loading data into Microsoft Dynamics CRM and you want the create on date to reflect the historical create date of the record and not the date it was loaded.

This can be done by setting the historical date value in the overridencreatedon field on the entity. When the record is created instead of having the system generated created date the histarical date value will show as the created on date.