Changed createFromDate() to createFromTimePoint() as suggested. (Fixes