Add Julian Day to the date field.

- This should use Math.floor since you're adding 1.
- Use begin.getTime() - janOne since begin is a Date object.