A cowboy rode into town on Friday, stayed 2 days, then rode out of town on Friday. How did he do that?

A cowboy rode into town on Friday, stayed 2 days, then rode out of town on Friday. How did he do that?