In a large pot, melt the butter over medium heat. Add the chopped onion and minced garlic, sautéing until the onion is translucent, about 4-5 minutes.
Stir in the diced ham and cook for another 3 minutes to allow the flavors to meld.
Add the diced potatoes, chicken broth, and dried thyme to the pot. Bring to a boil, then reduce the heat to a simmer. Cover and let it cook for about 15-20 minutes, or until the potatoes are tender.
Once the potatoes are cooked, add the drained corn and heavy cream, stirring well to combine. Let it simmer for an additional 5 minutes, allowing the chowder to thicken slightly.
Season with salt and pepper to taste, adjusting as needed.
Remove from heat and let it sit for a few minutes before serving.
Notes
Serve hot in bowls, garnished with fresh parsley. Drizzle some heavy cream for an extra touch.