Actually, I figured it out myself.
In the infusionsoft hosted webform, it's quite hidden, but the following is added automatically to the beginning of the form when the page loads.
<input type="hidden" name="timeZone"/>
And the time zone is set according to the this library.
I was able to add this functionality to my third party web form service. And voila, problem solved.