Hi everyone..
Want to know whether its possible to change the time of the iPhone through an application.. Is that level of dev access granted in iOS4?
My gut feeling is no, but I'm looking for a definitive Yes/No answer if possible.
Note: NSTimeZone class states 'Cocoa does not provide any API to change the time zone of the computer,...
Is there a way get the timezone of a user by their latitude and longitude? And not just the offset, but the actual timezone they're in.
Essentially, I'm searching for the polar opposite of DateTimeZone::getLocation which returns the latitude and longitude for a certain timezone.
...
When checking php.ini, from both phpinfo and php -i on the command line, my timezone is set to Africa/Johannesburg. So my timezone is GMT +2.
I wrote a tiny snippet to check the time is right as follows:
echo date('h:i A', time());
echo '<br />' . ini_get('date.timezone');
and this outputs the correct time, matching with my localmach...
I have the following piece of code. This is written for getting the list of timezones from registry and populating into an array. This piece of code works fine in Win7 and Vista OS but not in WinXp and Win2k3.
The reason is because of the size of array getting overflown. I have defined only 100 elements. However there are more than 100...
hi i am getting This problem - type initializer for 'PublicDomain.TzTimeZone' threw an exception. with .net please tell me why this is and how to solve this?
thanks
inner exception is "Cannot find time zone with UTC offset -12:00:00."
...
Hopefully a simple question, but I've been searching and searching with no luck:
In Python, is there a way to figure out what utc time offset the computer is set to?
...
Hi,
We are making an application with the details below.
1) Web/Desktop App on C#.Net
2) Stores users activity timestamp as a datetime field.
We need to store this timestamp in UTC format.
Now, while displaying it will be converted to user's timezone.
Problem
The user can float from one office to another. (multiple offices all in ...
Customers from around the world can send certain 'requests' to my server application. All these customers are located in many different time zones.
For every request, I need to map the request to an internal C++ class instance. Every class instance has some information about its 'location', which is also indicated by a time zone.
Eve...
I have a client side JavaScript that generates a date in JavaScript( new Date(2007,5,1)).
I need this date passed through to a hidden field that the code behind can access.
My issue is that when the hidden field is converted into a DotNet datetime, the time is incorrect. This is because the JavaScript is including timezone info from th...
I have a class that I serialize/deserialize using XmlSerializer. This class contains a DateTime field.
When serialized, the DateTime field is represented by a string that includes the offset from GMT, e.g 2010-05-05T09:13:45-05:00. When deserialized, these times are converted to the local time of the machine performing the deserializa...
I need to offset the time by an hour if it's currently DST in the Pacific Time Zone. How can I determine the current daylight savings status of the Pacific Time Zone, regardless of the user's local timezone?
Here's what I have so far. "dst" in line 4 is just a placeholder for a function that would tell me if daylight savings time is act...
My Application hosted at server in time zone which differs from mine. All date in database is not correct for my time zone.
How can I set my time zone for Application or how I can convert date to my time zone on output
...
I am making a page that accepts post data from any number of pages that I cannot change, access, or in any way control.
I need, in one way or another, to get the timezone of the user. I know, ideally the posting page would do this, but I cannot access these pages.
I've read other answers on this site and come up with 2 almost, but not ...
I have a problem when showing a datetime object from the database. The time is correctly set in when storing the object, but when it is fetched from db and shown to user it is shown in UTC
environment.rb
config.time_zone = 'Copenhagen'
This is what is saved using Time.now or Time.zone.now
2010-07-08 13:59:50 +0200
This is what is s...
Hi,
I'm looking for a way in SQL Server without using the .NET framework to find out the time in a given time zone, paying attention to daylight savings. However, this method also needs to take account for states (e.g. Arizona) that do NOT follow DST.
There is a workaround if the server is located somewhere that does follow DST - subt...
I realize this is a bit subjective, but I'm hoping to pick everyones brain here on how they deal with multiple timezones? There are a variety of similar questions here and an equally wide variety of accepted answers.
How have you delt with this in apps you've built, and what issues did you have to overcome?
...
I'm configuring a server in N.Virginia to have the same cron schedule as our 'old' server with America/Chicago timezone.
I've edited /etc/timezone to have the value America/Chicago.
I have the environment variable TZ=/usr/share/zoneinfo/US/Central .
I've basically matched the old server, and both are on the NTP network.
The cron schedul...
Hi,
I need to check what’s the current date where the user is in.
I don’t need the time, just the current date.
How can i do it?
I'm using codeigniter.
Thanks.
...
Hi
i get a string from a external method with a time and date like so "07/09/10 14:50" is there any way i can convert that time in ruby to 'Pacific US' time knowing its 'UTC' time? with changes accounted for in the date? i.e if the time difference results in the day being different.
thanks
...
Hello
I'm trying to Find a timezone and return time with DaylightSavingTime applied?
Currenty I can:
find the time zone
get utc offset
calculate the local time based on that
determine if the time zone uses DaylightSavingTime
get the rules for DaylightSavingTime
determine if the current time uses DaylightSavingTime
However I'm hav...