INNACURATE ACTIVITY TIME

Okay, I went for a swim in the pool today, according to Garmin at 2:57pm. It is now 5:25pm; however this activity, according to Garmin, took 5:50:37. The moving time I believe is accurate (31:44) but how is the activity time even possible?