05-15-2008
Implement daylight saving.
Hi all
We are currently using AIX 5.3, we reuquire to change the time according to the daylight saving scenario. We are using the internal clock and are not synced with ntp server. Can any one please tell me how to do that without effecting the processes running on the servers?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello!
I'm currently working on a climatological dataset that uses unix-timestamp and a real date like 28/03/2004 02:45:00 h. in spring the unix-timestamp follows its continuos mode but in the column of the real date the time jumps one hour forward (e.g. from 1:59:59 to 3:00:00). i think this is... (1 Reply)
Discussion started by: softmachine
1 Replies
2. Solaris
hi ...
i have an E450 sun server that is running solaris 6 . i want to disable daylight savings on my server .
My question is :
1) how to know that my server is running daylight savings ?
2) how to disable it ?
my zoneinfo file contains the following
# @(#)init.dfl 1.2 92/11/26
#
#... (1 Reply)
Discussion started by: ppass
1 Replies
3. AIX
On AIX 5.1, after applying a DST patch or workaround, is there a way to test that the DST changes have taken effect? (1 Reply)
Discussion started by: dangral
1 Replies
4. Ubuntu
Hello all,
I'm having a problem where a script needs to calculate GMT time given local time. For 6 months, that's easy. The other 6 months, it's not, as I have to add an extra hour to allow for Daylight Saving. At the moment, I manually add and remove an offset but, for obvious reasons, I'd... (2 Replies)
Discussion started by: alexandicity
2 Replies
5. HP-UX
I have a problem with the time so I need to set the DST to be OFF. is anybody can show me how to set the DST to be OFF? (11 Replies)
Discussion started by: Billy_yuli
11 Replies
6. UNIX for Dummies Questions & Answers
The daylight saving action is not working
Time zone was set for that Australia(parth) and issued reboot.
Now for DST, (Daylight Saving Time):
For 29 Oct 2006 (sunday) day, if set time is 1:59:00 than after 1 minute it will
become 3:00:00 as per DST . This was found to be happening.i.e DST... (1 Reply)
Discussion started by: subratasaharia
1 Replies
7. UNIX for Advanced & Expert Users
The daylight saving action is not working
Time zone was set for that Australia(parth) and issued reboot.
Now for DST, (Daylight Saving Time):
For 29 Oct 2006 (sunday) day, if set time is 1:59:00 than after 1 minute it will
become 3:00:00 as per DST . This was found to be happening.i.e DST... (1 Reply)
Discussion started by: subratasaharia
1 Replies
8. Linux
Hi folks,
I would like to read the start date and end date of the Daylight Saving Time for the given timezone in the given year. What's the function in C/C++ to read the start of the Daylight Saving date and end of Daylight saving date?
I'm using Linux 2.6.xx Kernel.
For Example, in... (4 Replies)
Discussion started by: suryaemlinux
4 Replies
9. Linux
Hi,
I have few doubt on daylight saving.
Can any one clarify the below points.
1) How to configure daylight saving(DLS) time ?
2) How to query DLS ?
3) If i set DLS(say some how) will it be autometically changed or user has to manually change system time ?
I got few info on net about... (3 Replies)
Discussion started by: ashokd001
3 Replies
10. Solaris
Hello,
Quick question: How do I verify if my Solaris 11 hosts/zones, configured with NTP, would change automatically to the DST?
Thanks! (1 Reply)
Discussion started by: feroccimx
1 Replies
LEARN ABOUT PHP
timezone_name_from_abbr
TIMEZONE_NAME_FROM_ABBR(3) 1 TIMEZONE_NAME_FROM_ABBR(3)
timezone_name_from_abbr - Returns the timezone name from abbreviation
SYNOPSIS
string timezone_name_from_abbr (string $abbr, [int $gmtOffset = -1], [int $isdst = -1])
DESCRIPTION
PARAMETERS
o $abbr
- Time zone abbreviation.
o $gmtOffset
- Offset from GMT in seconds. Defaults to -1 which means that first found time zone corresponding to $abbr is returned. Otherwise
exact offset is searched and only if not found then the first time zone with any offset is returned.
o $isdst
- Daylight saving time indicator. Defaults to -1, which means that whether the time zone has daylight saving or not is not taken
into consideration when searching. If this is set to 1, then the $gmtOffset is assumed to be an offset with daylight saving in
effect; if 0, then $gmtOffset is assumed to be an offset without daylight saving in effect. If $abbr doesn't exist then the time
zone is searched solely by the $gmtOffset and $isdst.
RETURN VALUES
Returns time zone name on success or FALSE on failure.
EXAMPLES
Example #1
A timezone_name_from_abbr(3) example
<?php
echo timezone_name_from_abbr("CET") . "
";
echo timezone_name_from_abbr("", 3600, 0) . "
";
?>
The above example will output something similar to:
Europe/Berlin
Europe/Paris
SEE ALSO
timezone_abbreviations_list(3).
PHP Documentation Group TIMEZONE_NAME_FROM_ABBR(3)