I'm trying to get the current time in a variable but its crashing my app
My code: var CurrentTime = getClockTime();
I need this as I'm using the System.Println to output to a text file and want to see when certain events happen?
Sys.getClockTime();
using Toybox.System as Sys;
System.println(xAccel + ","); //IL Get xAccel value
System.println(yAccel + ","); //IL Get yAccel value
System.println(zAccel + "," + "\n"); //IL Get zAccel value
var CurrentTime = Sys.getClockTime();
System.println(CurrentTime);