Convert file to RST syntax.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 22 Dec 2011 13:02:20 +0200
changeset 1152 8436c285c139
parent 1150 7396fd5619e7
child 1153 ee88b4d14151
Convert file to RST syntax.
date.rst
--- a/date.rst	Wed Dec 21 23:42:11 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
--*- mode: outline; coding: utf-8; -*-
-
-* System timer and system time.
-
-** Windows.
-
-Windows assume that system timer display locale time.
-
-** Debian.
-
-UTC=no - system timer display locale time, UTC=yes - UTC time.
-
-  $ cat /etc/default/rcS
-  UTC=no
-or
-  UTC=yes
-
-If system dual boot with Windows you must set UTC=no.
-
-* Getting current date/time.
-
-  $ date +"%Y-%m-%d %H:%M:%S"
-
-* Setting current date/time.
-
-  $ sudo date --set="2009-02-22 12:12:00" +"%Y-%m-%d %H:%M:%S"
-
-Or set utc time:
-
-  $ sudo date --utc --set="2009-02-22 12:12:00" +"%Y-%m-%d %H:%M:%S"
-
-May be prefer use ntpdate(8) command.
-
-* Get timezone.
-
-System wide configuration:
-
-  $ cat /etc/timezone
-
-* Get list of supported timezone.
-
-  $ tzselect
-
-* Set timezone.
-
-  $ sudo tzconfig
-...
-
-Or using tzselect:
-
-  $ sudo tzselect
-...
-
-** Debian Lenny.
-
-  $ sudo dpkg-reconfigure tzdata
-
-* About timestamp.
-
-  http://en.wikipedia.org/wiki/Timestamp
-  http://en.wikipedia.org/wiki/Unix_time
-  http://en.wikipedia.org/wiki/Leap_second
-
-** Get timestamp.
-
-Current timestamp:
-
-  $ date +%s
-
-Timestamp for specific date/time:
-
-  $ date -d '2010-12-11' +%s
-  $ date -d '2010-12-11 23:59:59' +%s
-
-** Convert unix timestamp to date.
-
-  $ date -d '1970-01-01 + 1234567890 seconds'
-