10-26-2005
daylight savings change
I have a solaris 8 server - and I need to ensure the daylight savings change properly but I dont think its set up correctly:
/usr/sbin/zdump -v -c 2005 $TZ
GB-EIRE Wed Oct 26 12:20:02 2005 UTC = Wed Oct 26 12:20:02 2005 GB isdst=0
GB-EIRE Fri Dec 13 20:45:52 1901 UTC = Fri Dec 13 20:45:52 1901 GB isdst=0
GB-EIRE Sat Dec 14 20:45:52 1901 UTC = Sat Dec 14 20:45:52 1901 GB isdst=0
GB-EIRE Tue Jan 19 03:14:07 2038 UTC = Tue Jan 19 03:14:07 2038 GB isdst=0
GB-EIRE Mon Jan 18 03:14:07 2038 UTC = Mon Jan 18 03:14:07 2038 GB isdst=0
It doesnt look like it will change - how do I correct this?
9 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Hey Neo - or other Unix.com staffers - I've selected my Timezone for the forums - however it's wrong for my Country - as we have Daylight Savings for 6 months of the year - so currently were 1 hour ahead of the time that is provided in the personal options pages. Can we add another for this - no... (5 Replies)
Discussion started by: peter.herlihy
5 Replies
2. UNIX for Dummies Questions & Answers
I was trying to schedule a job to run on the last Sunday of October. To stop a process that I have running before daylight savings automatically falls back at 2AM then restart it after the hour has been regained. I thought I was smart (my mistake) and scheduled the 2 entries in cron. I figured that... (3 Replies)
Discussion started by: cindylouwho
3 Replies
3. UNIX for Dummies Questions & Answers
Hey guys,
How do i check and see if my server will automatically adjust itself for daylight savings?
Thanks! (6 Replies)
Discussion started by: kingdbag
6 Replies
4. Solaris
Hello,
I've been looking at coming up with a time change on my Sun workstations since daylight savings time comes early this year. Someone at work told me that a sun patch is available if you have a maintenance contract. It was recommended to just set your systems to GMT time zone. How is this... (5 Replies)
Discussion started by: stocksj
5 Replies
5. Linux
Is there a patch availible for the upcoming new daylight savings time ordeal? (4 Replies)
Discussion started by: shorty
4 Replies
6. Solaris
I am running a SUN E450 on solaris (5.7). I have applied the DST patch and the system time is correct. However when users login the get the time wrong (+4 hours) (I am in EDT Zone). Does anyone know where a system wide variable for this could be set. (Root user gets the right time)
Frank (3 Replies)
Discussion started by: frankkahle
3 Replies
7. AIX
Our aix unix box did not recognize daylight savings time since it was moved up. Could someone please give me the syntax to change the hour? I looked in man and couldn't find anything, or I missed it. I'm in 3rd grade so if you can, please provide specific instructions.
Thanks! (2 Replies)
Discussion started by: vbagwell
2 Replies
8. AIX
Hello everyone
The last sunday I have to check that my servers has change Daylight savings time but only two servers do it and all the rest doesnt.
In smitty where I need to change, for my server take automatic the daylight savings time.
Thanks for your tips
The next its a message for... (0 Replies)
Discussion started by: lo-lp-kl
0 Replies
9. AIX
Hello,
I like to set the CDT timezone, but it shows CST still even after I activated the DayLight Time
cat /etc/environment | grep TZ
TZ=CST6CDT
Now looking at date:
root@test8:/>date
Tue Dec 20 05:34:45 CST 2016
How can I make it from CST to CDT ?
thanks (5 Replies)
Discussion started by: filosophizer
5 Replies
GMDATE(3) 1 GMDATE(3)
gmdate - Format a GMT/UTC date/time
SYNOPSIS
string gmdate (string $format, [int $timestamp = time()])
DESCRIPTION
Identical to the date(3) function except that the time returned is Greenwich Mean Time (GMT).
PARAMETERS
o $format
- The format of the outputted date string. See the formatting options for the date(3) function.
o $timestamp
- The optional $timestamp parameter is an integer Unix timestamp that defaults to the current local time if a $timestamp is not
given. In other words, it defaults to the value of time(3).
RETURN VALUES
Returns a formatted date string. If a non-numeric value is used for $timestamp, FALSE is returned and an E_WARNING level error is emitted.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.1.0 | |
| | |
| | The valid range of a timestamp is typically from |
| | Fri, 13 Dec 1901 20:45:54 GMT to Tue, 19 Jan 2038 |
| | 03:14:07 GMT. (These are the dates that corre- |
| | spond to the minimum and maximum values for a |
| | 32-bit signed integer). However, before PHP 5.1.0 |
| | this range was limited from 01-01-1970 to |
| | 19-01-2038 on some systems (e.g. Windows). |
| | |
| 5.1.1 | |
| | |
| | There are useful constants of standard date/time |
| | formats that can be used to specify the $format |
| | parameter. |
| | |
+--------+---------------------------------------------------+
EXAMPLES
Example #1
gmdate(3) example
When run in Finland (GMT +0200), the first line below prints "Jan 01 1998 00:00:00", while the second prints "Dec 31 1997
22:00:00".
<?php
echo date("M d Y H:i:s", mktime(0, 0, 0, 1, 1, 1998));
echo gmdate("M d Y H:i:s", mktime(0, 0, 0, 1, 1, 1998));
?>
SEE ALSO
date(3), mktime(3), gmmktime(3), strftime(3).
PHP Documentation Group GMDATE(3)