473,769 Members | 2,643 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

New Daylight Savings Time in US

I heard that the Daylight Savings time in the US will change. Will PHP
deal with this automatically?

Best regards,

Merijn
Feb 16 '07 #1
4 1628
On Fri, 16 Feb 2007 21:47:02 +0100, Merijn Schering wrote:
I heard that the Daylight Savings time in the US will change. Will PHP
deal with this automatically?
Only if the operating system does it correctly.

Jonesy
--
Marvin L Jones | jonz | W3DHJ | linux
38.24N 104.55W | @ config.com | Jonesy | OS/2
*** Killfiling google posts: <http://jonz.net/ng.htm>
Feb 16 '07 #2
Op Fri, 16 Feb 2007 21:49:48 +0000, schreef Allodoxaphobia:
On Fri, 16 Feb 2007 21:47:02 +0100, Merijn Schering wrote:
>I heard that the Daylight Savings time in the US will change. Will PHP
deal with this automatically?

Only if the operating system does it correctly.

Jonesy
Ok thanks I'll try to find out if Linux does but I guess it will.

Regards,
Merijn

Feb 17 '07 #3
On Sat, 17 Feb 2007 22:13:50 +0100, Merijn Schering wrote:
Op Fri, 16 Feb 2007 21:49:48 +0000, schreef Allodoxaphobia:
>On Fri, 16 Feb 2007 21:47:02 +0100, Merijn Schering wrote:
>>I heard that the Daylight Savings time in the US will change. Will PHP
deal with this automatically?

Only if the operating system does it correctly.

Ok thanks I'll try to find out if Linux does but I guess it will.
Only if the timezone has been updated since the shift in DST dates.

$ rpm -qa timezone
timezone-2.4-7.......

I dunno which older version of timezone first included the shift in DST dates.

Jonesy
--
Marvin L Jones | jonz | W3DHJ | linux
38.24N 104.55W | @ config.com | Jonesy | OS/2
*** Killfiling google posts: <http://jonz.net/ng.htm>
Feb 17 '07 #4
Op Sat, 17 Feb 2007 22:18:05 +0000, schreef Allodoxaphobia:
On Sat, 17 Feb 2007 22:13:50 +0100, Merijn Schering wrote:
>Op Fri, 16 Feb 2007 21:49:48 +0000, schreef Allodoxaphobia:
>>On Fri, 16 Feb 2007 21:47:02 +0100, Merijn Schering wrote:
I heard that the Daylight Savings time in the US will change. Will PHP
deal with this automatically?

Only if the operating system does it correctly.

Ok thanks I'll try to find out if Linux does but I guess it will.

Only if the timezone has been updated since the shift in DST dates.

$ rpm -qa timezone
timezone-2.4-7.......

I dunno which older version of timezone first included the shift in DST dates.

Jonesy

I run debian and it depends on the libc6 package:

I found this article for anyone interested:

https://agora.cs.uiuc.edu/display/ts...+Linux+systems

I run debian sarge and it is OK according to this page.

dpkg -l libc6 shows I have version 2.3.2.ds1-22sa

Thanks for your help!

Regards,
Merijn

Feb 17 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3668
by: Bathroom_Monkey | last post by:
For posterity's sake, here is an algorithm I created to take a GMT time and convert it to U.S. central time, accounting for daylight saving time. Note: this algorithm can be modified to work for any other U.S. timezone by changing the number of second subtracted at the end. <? $in_dst="false";
2
7216
by: hourang | last post by:
ok im getting tired of looking for an answer and coming up short with scripts that dont work. i have a application that uses GMT for all its times and needs the clients timeoffset for showing the correct times for everything. i use date.getTimezoneOffset() which works fine and shows the daylight savings time correct value of -4 since im in eastern standard time and its daylight savings time right now. well eastern standard time is...
1
7850
by: Ernie | last post by:
I am creating an .ics file that when opened (via Outlook) inserts a meeting into the calendar. All works fine unless the date and time I'm inserting happens to occur on the hour the time changes due to daylight savings. For example in 2004 the hours changed at 2:00 AM on April 4th (the first Sunday of April). Only on this day, if the start hour is 2 (2:00 AM, 2:15 AM, 2:45 AM), then an extra hour gets added so that 2:00 AM becomes...
10
5266
by: Marc Pelletier | last post by:
Hello, I am writing an application that does some simple astronomical calculations. One of the variables I need is the number of hours passed in this year. I've written the following function public static double GetHoursofYear( DateTime aTime ) { DateTime StartYear = new DateTime( aTime.Year, 1, 1 ); return ( aTime.ToOADate() - StartYear.ToOADate() ) * 24;
3
3261
by: chrisdevey | last post by:
Is there any way to make a System.Timers.Timer adjust for daylight savings time change? In a long running process I set a timer as follows for a daily expiration: _myTimer = new Timer(_myTimerDelegate, null, nextExpiration, TimeSpan.FromDays(1)); When we make the change out of daylight time back to standard time, the timer appears to fire one hour early (e.g., 4pm instead of 5pm). Is there a way to set this timer so that it is...
3
5239
by: Anna | last post by:
Hi, I've already found out that .Net Framework 1.1 does not properly handle anything that is related to a non-current timezone. Since my project should be released before the release of Framework 2.0, I am kindly asking if anybody knows a workaround for the following: My database stores various locations, and for each location we store a GMT offset (number of hours). When the user selects a location, the program can instantly obtain...
3
4328
by: mmuras | last post by:
I did not see any discussions / threads for this but if there is one please let me know: -First, I am one of only two individuals within my company's IT Dept. -We have a Windows Server 2003 R2 Standard Ed. Box for our Domain controller. -We are having issues STILL today in April with the Microsoft Windows Daylight Savings Issues ***Symptoms:
4
4404
by: Polaris431 | last post by:
I have a web application in ASP.NET that will be used globally. Data is collected on mobile devices running Windows Mobile and sent to the web server where it is stored and can be viewed. Data is timestamped when it is sent from a PDA device to the server. I am writing software for both the web app and the PDA. The web server is located at one location while the PDA devices are located around the world. The question is, how do I handle...
3
482
by: Generic Usenet Account | last post by:
Hi, Is there any way to make time-of-day adjustments for daylight savings using only standard time functions? We have a program that executes daily at a fixed time of day. After daylight savings happens, the time-of-day alignment is lost. For example, if the daily task gets kicked in at 9 p.m. every evening, after daylight savings ends in fall, the task is shown as kicking in at 8 p.m. Similarly, if the daily task gets kicked in at...
27
6891
by: RobG | last post by:
I was investigating a function to determine whether daylight saving was being observed on a particular date (given the platform's regional settings) and came across a suggestion at merlyn.com to test the time zone offset on a variety of dates to see if it changes. Based on that, I developed the following checkDST() function which, as far as I can tell, should be sufficient. It checks either the date passed to it or the current date with...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10212
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10047
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9863
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8872
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7410
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6674
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5304
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.