03-10-2010
date is not in any log file... just got Date_ConvTZ function from Date:Manip module, solved my problem
Thanks all
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello again,
under hp-ux i have a file /etc/TIMEZONE. here is definied which timezone i am.
i dont know who reads this file to set after reading the timezone under /usr/lib/tztab.
my 2 questions, who reads the file /etc/TIMEZONE ( which service ) and do i need in the first line to set my... (6 Replies)
Discussion started by: ortsvorsteher
6 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I got an question about changing timezone thrue command line on a SunOS Release 4.1.2 without restarting the computer.
Now it's set on WET and I want to set the timezone to CET (GMT +1)
Plz somebody help me.
Regards
Novisern:confused: (5 Replies)
Discussion started by: Novisern
5 Replies
3. UNIX for Dummies Questions & Answers
Hi,
i am searching to change the timezone on a HP-UX11 system. Since last weekend the summertime started i am not able to change the time to the new time, every day the time changes back to wintertime. I think the problem is that the server is on the wrong timezone. Can someone help me please?... (1 Reply)
Discussion started by: eddyvdv
1 Replies
4. UNIX for Advanced & Expert Users
HI ;
I got Solaris8 installed oon Sunfire V440 .I have TZ=GMT in /etc/TIMEZONE , but when i log in as root i see the date in GMT+1.
So i have every time to "set TZ=GMT ; export $TZ" .
How can i set the TZ=GMT at the startup defenitely.
Thanks
:) (7 Replies)
Discussion started by: oss
7 Replies
5. Solaris
I am running SunOS 5.6. If I login with a ksh shell and type 'date'. I get the correct date and time related to the TZ, that is,
>Tuesday July 27 09:50:25 NZST 2004
However, if I run under crontab, I get this.
>Mon Jul 26 20:49:00 ESTEDT 2004
My question is; Does anyone know how to fix this... (2 Replies)
Discussion started by: lbeard
2 Replies
6. Shell Programming and Scripting
Hi,
Date_ConvTZ of module Date:Manip, converts time zone to specified server but without day time savings...
$mod = Date_ConvTZ($date,"$thisTZ","$serverTZ");
US and UK timezone difference is 5 hrs, but above function will return difference of 4 hrs.
Please help (1 Reply)
Discussion started by: darshakraut
1 Replies
7. Shell Programming and Scripting
Hi
I have a command which returns a timezone, Ej:
root@bsades2: /usr/local/bin # lsuser -a time_last_login israel
israel time_last_login=1279032223
Question: I want to parse this timezone '1279032223' into a 'martes, 13 de julio de 2010 16:43:43' from the ksh shell. Is itt possible?
... (3 Replies)
Discussion started by: iga3725
3 Replies
8. 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
9. Solaris
Hi,
On my server timezone is IST, so I have configured the sudo for user to change the date, but when he is changing the date time zone is also getting changed from ist to gmt. using solaris 10. I have checked in /etc/TIMEZONE file in that it is showing TZ=Asia/Calcutta, wheather any other file... (1 Reply)
Discussion started by: manoj.solaris
1 Replies
10. Solaris
hii there...
can you guys help me with TIMEZONE setting on my solaris box
i tried to edit cat /etc/TIMEZONE..but i think it will work after rebooting,
but something i did which took me to GMT
my problem is i have this issue on a server, and i have to fix this without rebooting.
thanks for... (1 Reply)
Discussion started by: 6pound
1 Replies
LEARN ABOUT CENTOS
pmnewcontextzone
PMNEWCONTEXTZONE(3) Library Functions Manual PMNEWCONTEXTZONE(3)
NAME
pmNewContextZone - establish a reporting timezone based on a PMAPI context
C SYNOPSIS
#include <pcp/pmapi.h>
int pmNewContextZone(void);
cc ... -lpcp
DESCRIPTION
The current reporting timezone affects the timezone used by pmCtime(3) and pmLocaltime(3).
If the current PMAPI context is an archive, pmNewContextZone uses the timezone from the archive label record to set the current reporting
timezone.
If the current PMAPI context corresponds to a host source of metrics, pmNewContextZone executes a pmFetch(3) to retrieve the value for the
metric pmcd.timezone and uses that to set the current reporting timezone.
In both cases, pmNewContextZone returns a value to identify the current reporting timezone that may be used in a subsequent call to pmUse-
Zone(3) to restore this reporting timezone.
SEE ALSO
PMAPI(3), pmCtime(3), pmFetch(3), pmGetConfig(3), pmLocaltime(3), pmNewContext(3), pmNewZone(3), pmUseZone(3), pmWhichZone(3), pcp.conf(5),
pcp.env(5) and environ(5).
DIAGNOSTICS
PM_ERR_NOCONTEXT
the current PMAPI context is not valid
other a return value less than zero indicates a fatal error from a system call, most likely malloc(3C)
Performance Co-Pilot PCP PMNEWCONTEXTZONE(3)