Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 21st October 2010, 06:08
baanmaha baanmaha is offline
Junior Member
Join Date: Jul 2008
Location: Baanmaha online
Posts: 1
Thanks: 1
Thanked 1 Time in 1 Post
Thumbs up Set the time machine Linux server

This is the quick and dirty solution...

To display the current date/time

HTML Code:
$ date   << check date/time
To set the date/time

HTML Code:
$ sudo date MMDDhhmmYYYY << Example command

HTML Code:
$ sudo date 021520302009  << Use
Linux Set Time

To set time use the following syntax:
# date +%T -s "10:13:13"

HTML Code:
    * 10: Hour (hh)
    * 13: Minute (mm)
    * 30: Second (ss)
Use %p locales equivalent of either AM or PM, enter:
HTML Code:
# date +%T%p -s "6:10:30AM"
# date +%T%p -s "12:10:30PM"
Reply With Quote
The Following User Says Thank You to baanmaha For This Useful Post:
falko (22nd October 2010)
Sponsored Links


linux set time

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
User unknown in relay recipient table Taxick Installation/Configuration 12 9th April 2013 13:31
ERROR: Connection dropped by IMAP server. [Centos 5.4, courier imap,squirrel, etc] darevil HOWTO-Related Questions 7 9th June 2010 15:49
I don't recieve mail. privir Installation/Configuration 2 3rd June 2009 23:08
Can't start apache Musty Server Operation 12 9th March 2008 14:58
Webmail Relay Error palkat General 17 23rd April 2006 19:12

All times are GMT +2. The time now is 13:33.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.