Usage: Enter your latitude and longitude (can be found on google if you aren't sure). The variables are only updated on green flag click, so restart the project once you've inputted your co-ordinates. Most variables aren't dependent on your location, so don't feel the need to input them. Use the _HOURSDIFFERENCE slider to go forward or backward in time (in hours), up to 2 days ahead or behind. Revamped from my old project. Uses more advanced formulas to estimate each variable. See inside if you want the formulas. Better than the old project due to more sophisticated and fine tuned formulas, less estimation and overall more variables are included in each formula. Equation of time should be accurate to +-1 second, however due to scratch rounding, give it a good +-5 second accuracy. Everything else should be accurate, however some formulas are known to lose accuracy over time, for example the EoT will lose its <1 second accuracy in the year 2050. If you are confused why the times are all in decimal format, its because they are represented in hours. To convert the value (for example the true solar time), remove the floor of the whole value, then multiply the result by 60. For example: True Solar Time: 12.389 12.389 (whole value) - 12 (floor of the whole value) = 0.389 (the amount of minutes, still in hours) 0.389 * 60 (as there's 60 minutes in an hour) = ~23 so, the True Solar Time would be 12:23 (floor of whole value) : (result of remainder * 60)
All code from me, formulas found online. Usage allowed with the following disclaimer: Code regarding (snippet of code used) taken from @Walle2011 with allowance.