Setting Date and Time

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(New page: setting date from command line)
 
m (Setting date from the command prompt)
Line 14: Line 14:
  
 
where ''MM'' is the month, 01-12; ''DD'' is the day, 01-31; ''hhmm'' is the time, 0000-2359; ''YYYY'' is the optional year, and ''.ss'' is the optional seconds.
 
where ''MM'' is the month, 01-12; ''DD'' is the day, 01-31; ''hhmm'' is the time, 0000-2359; ''YYYY'' is the optional year, and ''.ss'' is the optional seconds.
 +
 +
See also [[Timezone]] for changing the time zone.
  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Guides]]
 
[[Category:Guides]]

Revision as of 03:06, 15 July 2008

Setting date from the command prompt

To change the date on your Freerunner you have to give the command

date -s MMDDhhmm

or

date -s MMDDhhmmYYYY

or

date -s MMDDhhmmYYYY.ss

where MM is the month, 01-12; DD is the day, 01-31; hhmm is the time, 0000-2359; YYYY is the optional year, and .ss is the optional seconds.

See also Timezone for changing the time zone.

Personal tools

Setting date from the command prompt

To change the date on your Freerunner you have to give the command

date -s MMDDhhmm

or

date -s MMDDhhmmYYYY

or

date -s MMDDhhmmYYYY.ss

where MM is the month, 01-12; DD is the day, 01-31; hhmm is the time, 0000-2359; YYYY is the optional year, and .ss is the optional seconds.

See also Timezone for changing the time zone.