datetime and pointer