Added conversion from NSDate to Julian.