This paper studies a time discretization for a doubly nonlinear parabolic equation related to the p(x)-Laplacian by using Euler-forward scheme. We investigate existence, uniqueness, and stability questions and prove existence of the global compact attractor.