- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: how to set date and time in linux
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2008 01:30 AM
тАО09-25-2008 01:30 AM
how to set date and time in linux
How to set date and time in linux.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2008 01:46 AM
тАО09-25-2008 01:46 AM
Re: how to set date and time in linux
#date
Thu Sep 25 05:41:14 EDT 2008
to change the date
# date -s "Thu Sep 25 05:41:14 EDT 2008"
change the "" fields as per your requirment.
Let me know if it works or the date which you want to be set
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2008 01:48 AM
тАО09-25-2008 01:48 AM
Re: how to set date and time in linux
You should post these questions in the Linux forum.
http://forums12.itrc.hp.com/service/forums/familyhome.do?familyId=118
http://www.vanemery.com/Linux/RH-Linux-Time.html
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2008 01:54 AM
тАО09-25-2008 01:54 AM
Re: how to set date and time in linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2008 02:46 AM
тАО09-25-2008 02:46 AM
Re: how to set date and time in linux
Anyways you can set timezone correctly aslo as it may cause some time issue.
BR,
kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2008 03:17 AM
тАО09-25-2008 03:17 AM
Re: how to set date and time in linux
from command line
to set the date to Sep 25 12:45 AM
#date 0925004508
here
09 is mon
25 is date
00 is hr.
45 in min.
08 is year
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2008 04:18 AM
тАО09-25-2008 04:18 AM
Re: how to set date and time in linux
date command will do it. See the man page.
Also note that ntp is the way to make sure time and data are consistent through out your network.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2008 03:09 PM
тАО09-27-2008 03:09 PM
Re: how to set date and time in linux
Requests to move threads can be made by replying to a monthly thread like:
July-September 2008 Moderator Intervention thread
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1245248