changed command number to datetime