add from and to datetime to wxbook