Implementing copyValueFrom for PTDate.