I hope we can set the device time using SystemTime Module. In general, SystemTime Module is used to set the device clock, set the timezone, or synchronize it with a network SNTP server.
So you can refer the examples here http://docs.rhomobile.com/rhoelements/systemTime
Sorry but what do I need to require to use this? I get the following error when using systemTime:
Error: uninitialized constant MainController::SystemTime
Have you included rhoelements in your application as
In build.yml, add below line
Also need to clean your build after changing the application type. See http://docs.rhomobile.com/rhoelements/rhoelements2-native#enabling-motorola-device-capabilities for more information