First set the global evaluation date.
Calculate the net present value of 100 dollars to be paid on January 2, 2007.
Here is another example.
Compute the value of this cash flow on January 1, 2005.
Here is another way to compute this. First, compute the accrued interest.
This is the value to be received on January 1, 2010. Discount this value using the discount rate.
Compute with a difference day counter.