12-12-2011
Need help with Timezone locale.
HI Gurus,
I have a issue. One of our applications needs the data loads with the timezone (CST) but our zones run on GMT. I tried to change the TZ value under /etc/default/init value but it seems to effect the the whole zone. Is there any way I can just set up the TZ as CST for a particular user.
Thanks in Advance.
RK
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I have Solaris 7 installed.
When I give the command 'locale' from the box, I am getting all the environment variables as 'de' ! I want it to be in English. How do I change the locale ??
TIA,
Srinivas. (1 Reply)
Discussion started by: snsrini
1 Replies
2. Programming
Hi,
In the sample program, I am trying to print a Japanese string.
The code is as follows:
main()
{
setlocale(LC_ALL,"");
printf("String is %S\n", L"JAP");
// Note "JAP" is a valid japanese string
}
If locale is C, the string gets printed, but if it a valid japanese locale, it... (1 Reply)
Discussion started by: Dippan
1 Replies
3. UNIX for Dummies Questions & Answers
Hi Guys,
Any ideas on how to install the zh_CN (Simplified Chinese) input locale for AIX5.2 ?
Can't seem to find it any where.
S. (2 Replies)
Discussion started by: stumpy
2 Replies
4. UNIX for Dummies Questions & Answers
:confused:
Can anyone tell me how to test that locale is working properly in commands like awk, basename, bg, cd, cmp, col, command, csplit, cut, echo, egrep
For ex. suppose I have changed locale using
LC_ALL=german_germany.8859
export LC_ALL
now i want to test(see) it's effect on... (3 Replies)
Discussion started by: alodha
3 Replies
5. 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
6. Solaris
Hi All,
i am pretty new to sun solaris env.I need to install a french locale onto my machine.Could you please guide me through the steps. (1 Reply)
Discussion started by: sankasu
1 Replies
7. Solaris
Hi All,
I need to install a swedish locale on a solaris machine(ver. 10).I have the package downloaded.Can anyone please guide me through the steps and things i need to keep in mind when doing the same? (7 Replies)
Discussion started by: sankasu
7 Replies
8. Shell Programming and Scripting
Hi all,
today i encounter one weird problem.
I tried to do the sftp of one file from one server to another and try to load that file in some datawarehouse with a informatica(extraction,tranformation and loading tool) . But the tool is rejecting all
later i found that there is some problem in... (0 Replies)
Discussion started by: narang.mohit
0 Replies
9. Solaris
Greetings Forumers!
I've been fighting a locale problem on a v490 running Solaris 10 u4 (8/07). When I login to the system, I get several "locale" error messages:
user1's password:
Last login: Wed May 26 2010 09:14:13 -0400 from system1
You have mail.
couldn't set locale correctly
couldn't... (0 Replies)
Discussion started by: bluescreen
0 Replies
10. Solaris
I am upgrading a machine to Solaris 10 and noticed a change that would cause a problem for us. We have always used en_US.ISO8859-1 and selected that when setting up the new system.
This is the format on our old system
$ date
Fri Sep 21 10:35:51 PDT 2012
And this is what I got on our old... (1 Reply)
Discussion started by: Bryan.Eidson
1 Replies
LEARN ABOUT PHP
datetimezone
DATETIMEZONE(3) 1 DATETIMEZONE(3)
The DateTimeZone class
INTRODUCTION
Representation of time zone.
CLASS SYNOPSIS
DateTimeZone
DateTimeZone
Constants
o const integer$DateTimeZone::AFRICA1
o const integer$DateTimeZone::AMERICA2
o const integer$DateTimeZone::ANTARCTICA4
o const integer$DateTimeZone::ARCTIC8
o const integer$DateTimeZone::ASIA16
o const integer$DateTimeZone::ATLANTIC32
o const integer$DateTimeZone::AUSTRALIA64
o const integer$DateTimeZone::EUROPE128
o const integer$DateTimeZone::INDIAN256
o const integer$DateTimeZone::PACIFIC512
o const integer$DateTimeZone::UTC1024
o const integer$DateTimeZone::ALL2047
o const integer$DateTimeZone::ALL_WITH_BC4095
o const integer$DateTimeZone::PER_COUNTRY4096
Methods
o public DateTimeZone::__construct (string $timezone)
o public array DateTimeZone::getLocation (void )
o public string DateTimeZone::getName (void )
o public int DateTimeZone::getOffset (DateTime $datetime)
o public array DateTimeZone::getTransitions ([int $timestamp_begin], [int $timestamp_end])
o publicstatic array DateTimeZone::listAbbreviations (void )
o publicstatic array DateTimeZone::listIdentifiers NULL ([int $what = DateTimeZone::ALL], [string $country])
PREDEFINED CONSTANTS
o DateTimeZone::AFRICA -Africa time zones.
o DateTimeZone::AMERICA -America time zones.
o DateTimeZone::ANTARCTICA -Antarctica time zones.
o DateTimeZone::ARCTIC -Arctic time zones.
o DateTimeZone::ASIA -Asia time zones.
o DateTimeZone::ATLANTIC -Atlantic time zones.
o DateTimeZone::AUSTRALIA -Australia time zones.
o DateTimeZone::EUROPE -Europe time zones.
o DateTimeZone::INDIAN -Indian time zones.
o DateTimeZone::PACIFIC -Pacific time zones.
o DateTimeZone::UTC -UTC time zones.
o DateTimeZone::ALL -All time zones.
o DateTimeZone::ALL_WITH_BC -All time zones including backwards compatible.
o DateTimeZone::PER_COUNTRY -Time zones per country.
PHP Documentation Group DATETIMEZONE(3)