The first is American English. The second is British English. More natural rephrasings of the object clause are: I learned/learnt (that) it was difficult to run a company.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.