05-06-2015
Timezone is the representation of the system time.
If you change the timezone, applications might continue with the old representation, until they are restartet.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I've date back one of my Unix WS ,after that again i want to return to real date,but after running:
# date -u mmddHHMMyy
the clock immediately returns to GMT timezone that is different with my local timezone.
any suggestion could be useful...
tanx
--nikk (2 Replies)
Discussion started by: nikk
2 Replies
2. Solaris
Hi,
Can anybody tell me how to change time zone from ist to bst,
What changes should be done in /etc/TIMEZONE file.
wheather it is possible to change timezone without rebooting the server.
Regards
Manoj (1 Reply)
Discussion started by: manoj.solaris
1 Replies
3. Red Hat
Hi,
I would like to change time zone Linux from IST to US/Canada but not getting the option , I have run the command setup -> timezone configuration but not getting the option of us/canada or pacific us/canada.
Please suggest.
Regards,
Manoj (1 Reply)
Discussion started by: manoj.solaris
1 Replies
4. AIX
hi
may aix version is 6100-06-03-1048
when i give date command it shows the time zone as
root@cbspsgui01 #date
Fri Sep 16 08:43:42 Africa/Johannesburg 2011
I want to change the time zone to GMT +02:00:
After i change the time zone it should show something like the one below when i type... (2 Replies)
Discussion started by: newtoaixos
2 Replies
5. Solaris
I am curious to know if I can reboot a zone while I was inside the zone itself.
By doing so can I know what happens to the zone and what are the pros and cons.
Is it recommended or not?
Is that zone will properly shuts down;
:confused::confused::confused: (7 Replies)
Discussion started by: srinivas1049
7 Replies
6. Solaris
can some one help me out as it is showing 2 different time zones in global zone and nonglobal zone .In global zone it is showing in GMT while in nonglobal zone i it showing as PDT.
System in running with solaris 10 (3 Replies)
Discussion started by: ravijanjanam12
3 Replies
7. Solaris
Hello everyone,
Can you please help me with this problem?
I want to change the timezone of my Solaris 10 system. I found on internet that I should do the following steps:
1- Edit the /etc/TIMEZONE file
2- restart the system : init 6
My question is : In the file /etc/TIMEZONE I should... (5 Replies)
Discussion started by: adilyos
5 Replies
8. Solaris
Dear,
One of our customer which is located in Iraq/Baghdad, has informed us about a official change in daylight saving time in few days later and has asked us to fix this issue.
So, the current timezone of that system is set as 'Asia/Baghdad' which is correct. however to fix the issue I went... (0 Replies)
Discussion started by: Anti_Evil
0 Replies
9. Red Hat
Hi all,
I faced with some problem when I changing java timezone on RHEL 5. I used tzupdater.jar tool from oracle to update java timezone. But I missed stopping applications before I run tzupdater tool. So some applications working with wrong timezone.
I think there's some cached instance of... (0 Replies)
Discussion started by: sembii
0 Replies
10. Solaris
Am new on Solaris
If I compare with ESXi default timezone is UTC and we have to set BIOS timezone to UTC too .
What we follow and best practice in Solaris Sparc servers .
Thanks in advance . (2 Replies)
Discussion started by: Shirishlnx
2 Replies
LEARN ABOUT OPENSOLARIS
settimeofday
gettimeofday(3UCB) SunOS/BSD Compatibility Library Functions gettimeofday(3UCB)
NAME
gettimeofday, settimeofday - get or set the date and time
SYNOPSIS
/usr/ucb/cc [ flag ... ] file ...
#include <sys/time.h>
int gettimeofday(tp, tzp)
struct timeval *tzp;
struct timezone *tzp;
int settimeofday(tp, tzp)
struct timeval *tzp;
struct timezone *tzp;
DESCRIPTION
The system's notion of the current Greenwich time is obtained with the gettimeofday() call, and set with the settimeofday() call. The cur-
rent time is expressed in elapsed seconds and microseconds since 00:00 GMT, January 1, 1970 (zero hour). The resolution of the system clock
is hardware dependent; the time may be updated continuously, or in clock ticks.
long tv_sec; /* seconds since Jan. 1, 1970 */
long tv_usec; /* and microseconds */
tp points to a timeval structure, which includes the following members:
If tp is a NULL pointer, the current time information is not returned or set.
tzp is an obsolete pointer formerly used to get and set timezone information. tzp is now ignored. Timezone information is now handled using
the TZ environment variable; see TIMEZONE(4).
Only the privileged user may set the time of day.
RETURN VALUES
A -1 return value indicates an error occurred; in this case an error code is stored in the global variable errno.
ERRORS
The following error codes may be set in errno:
EINVAL tp specifies an invalid time.
EPERM A user other than the privileged user attempted to set the time.
SEE ALSO
cc(1B), adjtime(2), ctime(3C), gettimeofday(3C), TIMEZONE(4)
NOTES
Use of these interfaces should be restricted to only applications written on BSD platforms. Use of these interfaces with any of the system
libraries or in multi-thread applications is unsupported.
tzp is ignored in SunOS 5.X releases.
tv_usec is always 0.
SunOS 5.11 30 Oct 2007 gettimeofday(3UCB)