change res datetime field html