- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Query on date command
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
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
тАО06-09-2009 01:01 AM
тАО06-09-2009 01:01 AM
I have given the following commands:
$ date;date -u
Tue Jun 9 15:00:05 bgh 2009--->System Local Time
Tue Jun 9 09:00:05 UTC 2009--->UTC time
Now say if i modify the time using "date" command which is as follows:
#date 060916592009
9th June 16:59:00
then does it change UTC time or Local Time
And after reboot the system the above time that i change using date command will remain unchange??
Thanks
Minhaz
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2009 01:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2009 02:12 AM
тАО06-09-2009 02:12 AM
Re: Query on date command
try
set_parms date_time
(I think this needs a reboot)
set_parms
(this willl give you all the options)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2009 02:14 AM
тАО06-09-2009 02:14 AM
Re: Query on date command
after changing local time by date command if we reboot the system then the time that we change using date command will remain unchanged when the system up??
Thanks
Minhaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2009 03:32 AM
тАО06-09-2009 03:32 AM
Re: Query on date command
For India it should be "TZ=IST-5:30". But you seem to be further east.
>after changing local time by date command if we reboot the system then the time that we change using date command will remain unchanged when the system up?
Well, N minutes would have gone by. :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2009 04:32 AM
тАО06-09-2009 04:32 AM
Re: Query on date command
I do not understood by
>>Well, N minutes would have gone by. :-)
Please can you clear me
Thanks
Minhaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2009 04:46 AM
тАО06-09-2009 04:46 AM
Re: Query on date command
>I do not understood by
If takes N minutes to reboot, then the clock would have advanced by that amount of time.