- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mailx time difference
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
Forums
Discussions
Discussions
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
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
08-15-2008 03:11 AM
08-15-2008 03:11 AM
mailx time difference
$date;date -u
Fri Aug 15 15:08:58 GMT 2008
Fri Aug 15 19:08:58 UTC 2008
but in mailx it is 23:08 wich is hour hour ahead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2008 03:53 AM
08-15-2008 03:53 AM
Re: mailx time difference
mailx time is the system time. It doesn't have its own clock.
The time or timezone settings on one of the two systems is wrong. Or perhaps the timezone setting is just wrong in one place. fix that the problem will go away.
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
08-15-2008 04:02 AM
08-15-2008 04:02 AM
Re: mailx time difference
but i am getting correct system time.
$date;date -u
Fri Aug 15 15:58:22 GMT 2008
Fri Aug 15 19:58:22 UTC 2008
and echo $TZ is GMT+4 in /etc/TIMEZONE file for UAE.
Please tell me where to correct timezone.
kripa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2008 05:11 AM
08-15-2008 05:11 AM
Re: mailx time difference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2008 10:27 AM
08-15-2008 10:27 AM
Re: mailx time difference
1) You can't use any value of TZ that has GMT other than GMT0. Otherwise your time display with say GMT which will be confusing to everyone else. I.e. most people expect GMT to the the same as UTC.
2) You need a negative offset
You need to invent your own timezone name and if you want it for UAE, it should be:
TZ=UAE-4
Your machine's clock is 8 hours ahead because of the + vs -.