Solved

setting daylight savings time in a php application

Posted on 2007-11-14
3
206 Views
Last Modified: 2008-10-08
I have a developer just finishing an application for me in php that sends users messages at specific times during the day.

We've become stumped as to how to handle daylight savings time (summertime in europe) changes.  My server automatically adjusts for DST and thus so does my applications perceived time.

All of the users choose their timezone but the application doesn't make any adjustments for DST.

What is the cleanest way to address this?  Are there pre-built modules that can be used?

I'm not a programmer so please keep any responses in english... :-)

Thanks
0
Comment
Question by:marglar
3 Comments
 
LVL 21

Accepted Solution

by:
nizsmo earned 500 total points
ID: 20283075
This may help in regards to your issue:
http://www.anicon.ca/timezone-script.php
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now