How to set date/time in Android (non rooted phones)
adb shell date -s YYYYMMDD.HHMMSS is not working
elementSetProperty is not working.
Anyone tried in S6 with 5 or 6 OS version
Due to the restrictions in android, you will have to set the time using Non-instrumented Native Recognition.
Regarding adb shell date -s YYYYMMDD.HHMMSS, this will print the current date-time.
You can use the Run command to see the outputs of it.
Also, you can use GetDeviceProperty("device.time") to get the device time.