How to write the transient analysis ltspice directive with a stop time and start saving data time?
Right click with the mouse on the text .trans 1m and change it in the dialog box as shown below.

The LTspice directive becomes .tran 0 1m .9m

Explanation of the preceeding zero:
The syntax is: .TRAN &lt;Tstep&gt; &lt;Tstop&gt; [Tstart [dTmax]] [modifiers]
If Tstart or dTmax is specified, Tstep must has to be specified as well. Tstep is the plotting increment for the waveforms but is also used as an initial step-size guess. LTspice uses waveform compression, so this parameter is of little value and can be omitted or set to zero.