Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,814,562 Members 53,745 Now Online
XDA Developers Android and Mobile Development Forum

[Q] howto set time?

Tip us?
 
tebra
Old
#1  
Senior Member - OP
Thanks Meter 41
Posts: 265
Join Date: Dec 2010
Default [Q] howto set time?

Hi,
the clock time of my NST is wrong event when connected to internet.
My NST 1.2.1 is rooted without Gapps.
I set the time zone of my country in settings.
Any app or terminal command to fix this?
Thanks
 
tebra
Old
#2  
Senior Member - OP
Thanks Meter 41
Posts: 265
Join Date: Dec 2010
found it
Type this command in shell
date -s "YYYYMMDD.hhmmss"
 
Renate NST
Old
#3  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 805
Posts: 1,993
Join Date: Feb 2012
Location: Boston
The toolbox date command is incredibly stupid.
It doesn't even handle the -u (UTC) flag correctly.
It also has no error handling, one typo gives you a date in 1970.

I wrote adbtime.exe a while ago (it's in the signature).
If you have the adb server running on your host already, just type:
Code:
C:\>adbtime
I use this in combination with adbsync.exe to make sure my Nook is ready for the world before I go out the door.

The Following User Says Thank You to Renate NST For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes