Start up scripting: Goto timestamp

Hello,

I’m using the start up scripting as described here: https://developer.milestonesys.com/s/question/0D50O00003ZOvAzSAL/show-camera-on-client-start-up

I want to use the SCS.Browse.Goto(timestamp); function but cannot find the correct time stamp format.

Thanks

Try

System.DateTime dt = System.DateTime.Now-System.TimeSpan.FromMinutes(3);
SCS.Browse.Goto(dt);
SCS.Browse.PlayForward();

Thanks but just one correction:

In SCS.Browse.Goto(dt);

the dt should be surrounded with “”