12-18-2002
I found the answer ,my problem was that i used
"date -u ",which returns date to GMT regardless of local setting,we should use "date "without u switch instead of that.
Rgrds,
nikk
9 More Discussions You Might Find Interesting
1. Solaris
dears
does any one know in steps how can i change ip and hostname on solaris (10 Replies)
Discussion started by: murad.jaber
10 Replies
2. Shell Programming and Scripting
india
22/11/2009 10:00:00 AM
sweden
22/11/2009 01:30:00 PM
As mentioned above i will get the datetime string from my customer and i need to change that String into diffrnt timezone as mentioned above.
---------- Post updated at 01:54 AM ---------- Previous update was at 01:01 AM ----------... (5 Replies)
Discussion started by: vikas482
5 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. 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
5. Solaris
I was trying to change timezone on my new solaris-11 server to US/Pacific, but not successfull.
root@tsapp01 # grep TZ /etc/default/init
TZ=localtime
Can somebody share something on this ? It seems, /etc/TIMEZONE is no longer in use for Solaris 11 (2 Replies)
Discussion started by: solaris_1977
2 Replies
6. 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
7. 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
8. Solaris
Hello all,
I just want to update the timezone file with new file to update the time, so the zone in /etc/TIMEZONE will be the same but the file it refers to will be changed, and the local time should be changed, can this take effect without rebooting Solaris 10? (9 Replies)
Discussion started by: Amr.Es
9 Replies
9. 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 CENTOS
pmctime
PMCTIME(3) Library Functions Manual PMCTIME(3)
NAME
pmCtime - format the date and time for a reporting timezone
C SYNOPSIS
#include <time.h>
#include <pcp/pmapi.h>
char *pmCtime(const time_t *clock, char *buf);
cc ... -lpcp
DESCRIPTION
pmCtime is very similar to ctime(3), except the timezone used is the current ``reporting timezone'' (rather than the default TZ environment
variable scheme), and the result is returned into a caller-declared buffer (rather than a private buffer).
Like ctime(3) the time to be converted is passed via clock, and the result in buf is fixed width fields in the format:
Fri Sep 13 00:00:00 1986
The result buffer buf must be at least 26 bytes long, and no attempt is made to check this. pmCtime returns buf as the value of the func-
tion.
The default current reporting timezone is as defined by the TZ environment variable, so pmCtime and ctime(3) will initially produce similar
encoding of the date and time.
Use pmNewZone(3), pmNewContextZone(3) or pmUseZone(3) to establish a new current reporting timezone that will effect pmCtime but not
ctime(3).
SEE ALSO
ctime(3), PMAPI(3), pmLocaltime(3), pmNewContextZone(3), pmNewZone(3) and pmUseZone(3).
Performance Co-Pilot PCP PMCTIME(3)