How can I have a calculation in the form based on the time and location?