Local Tides Calculation For Testing

Local Tides Calculation for testing
A = Unix Timestamp epoch local (high tide = month,day,year H:M )
example: last day local time, (high tide = January,11,2019 3:57 ) = Unix Timestamp epoch is 1547179020
ref: https://www.epochconverter.com
B = (-/+) Adjusted (Decrement / Increment ) in seconds 0 to 43200 sec
C = 44700 seconds “When the time of high water at any place is more than 12h. 25m”
Calculation in Degrees high/low tide = (floor((((floor(#DNOW#/1000)-A+B)%C)*(360/C))%360))

1 Like