remove old datatime syntax