set time on form to localtime as well