In this paper, two novel computational processes are proposed to solve Finite-Difference Time-Domain (FDTD) based on machine learning deep neural networks. The field and boundary conditions are employed to establish recurrent neural network FDTD (RNN-FDTD) model and convolution neural network FDTD (CNN-FDTD) model respectively. Numerical examples from scalar wave equations are provided to benchmark the performance of the proposed methods. The results demonstrate that the newly proposed methods could solve FDTD steps with satisfactory accuracy. According to our knowledge, these are unreported new approaches for machine learning based FDTD solving methods.