# HG changeset patch # User "Oleksandr Gavenko " # Date 1235322819 18000 # Node ID 94dc90662ffe5a41659347897b81b133a169d755 # Parent 9442609f6876226ddde899408fbca5dc06000c11 About date. diff -r 9442609f6876 -r 94dc90662ffe date.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/date.rst Sun Feb 22 12:13:39 2009 -0500 @@ -0,0 +1,10 @@ +-*- outline -*- + +* 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" +