function [Glidex] = calcTimeDifferenceSpraySpray(Glidex,s,prof)
%CALCTIMEDIFFERENCEMONTHSSPRAYBOG Calc time difference in months, years,
%and total difference. All are absolute values.

SprayDateTime = datetime(datevec(s.sdn(prof)));
SprayDateTime.TimeZone = "UTC";

Glidex.TimeDifferenceMonths = abs(Glidex.("DateTime UTC").Month - SprayDateTime.Month);
Glidex.TimeDifferenceYears = abs(Glidex.("DateTime UTC").Year - SprayDateTime.Year);
Glidex.TimeDifference = abs(Glidex.("DateTime UTC") - SprayDateTime);
end
