It's not clear in the first example if a payment is also made daily or if just the interest is compounded daily. For the simple case, lets assume that they are the same.
The formula for the payment amount for a loan is:
PV * r
in your example, n=5*365 (5 years), r is 2.8%/365 = 0.000077, and PV is 18,500. So the result is: