Simplified ToDateTime extension