test datetime function 
get calculate the delta time