Working conversion of old post using created_at and datetime class.