Solved

setting daylight savings time in a php application

Posted on 2007-11-14
3
209 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PHP strings vs array errors 13 32
Decrypt string by php 7 47
simple html dom php accessing table/cell  values 4 18
Ajax and PHP 9 29
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
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…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.

840 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