The Schwartz (1997) two-factor model is the benchmark model for pricing futures options, and the volatility is constant, which is similar to the Black-Scholes model. In this paper, we use a similar method which can make the Black-Scholes model be a time-dependent volatility model to show that the time-dependent volatility is also valid in the Schwartz (1997) two-factor model. The time-dependent spot volatility results can be obtained easily and quickly in Matlab. We also explain why the time-dependent spot volatility results need to be tested theoretically and show how to ensure their correctness in both theory and practice.