Simplified JD conversion to use built-in time difference functions.
Removed assumption that dates are in local time zone. Now GMT is assumed.