It is 32 hours if driving 130-150 kph on the freeway (80-90 mph) without stopping for food, bathrooms, gas, or sleep. It's probably a few hundred hours with the train since you will have to go a few hundred or a few thousand kilometers north first.
Interestingly, there is a long train line from Louisiana to Los Angeles called the Sunset Limited. Up until Hurricane Katrina in 2005 it ran between Orlando Florida and Los Angeles,
On Amtrak, that's a 102 hour trip that takes you through Chicago and DC. Not an exaggeration. Given usual delays, that 102h is wildly optimistic. Coach seats: $387.