Have you checked this thread? Fun with Dates
@Jeff_Hager and @ThinhDinh have made great stuff with time. They may be able to give you better insight.
I believe that that formula can be replicated in Glide. If I understand it correctly you want 0.98 to be multiplied by whatever is in your column C if it is not empty, right?
If so, I am sure it can be done.