Omgili - forum search, search forums  
  

Discussions about timezone

Displaying 1 - 10 out of 13,622 discussions.  
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
Hello, I'm thinking about to store dates on user login in my site, but I don't know what is the most logical solution. Initially, I though to use server timezone, and then to manage it using difference operations between server machine date and user machine...
Started by on , 4 posts by 4 people.  
I'd recommend using server timezone or UTC, rather than storing different data for each user without having to, for each entry, fetch the *user_timezone* column and perform the conversion (which timezone may be tempting, DST rules....
I have a few places in the code where I need to use the TimeZone. I can get the timezone name using DateTime::TimeZone . Is it reasonable to put the timezone name in a constant? Or should it be in a variable?
Started by on , 4 posts by 4 people.  
It happened....
You could end up that could ever happen.
I vote for variable.
The user can change the timezone and it would be nice if the program behaves accordingly.
For a timezone, the chance it will change is not big, but it is also not 0.
I just noticed something really nice on the Google Analytics signup page for adding a new domain. First you pick a country them you pick your timezone. Instead of showing a huge Timezone list though they populate the timezone list with only timezones ...
Started by on , 3 posts by 3 people.  
Probably the best way to go would be to throw all this data into a database table and use some AJAX magic... .
You would simply group by the Country code column.
You can construct the data you want from this table: http://www.datelib.de/Timezones.shtml.en .
Ask your Facebook Friends
How well does Django handle the case of different timezones for each user? Ideally I would like to run the server in the UTC timezone (eg, in settings.py set TIME_ZONE="UTC") so all datetimes were stored in the database as UTC. Stuff like this scares ...
Started by on , 4 posts by 4 people.  
Not a Django Malcom Tredinnick's advice in this django....
Of timezone-based model fields (and their corresponding form fields, and some decorators), which you could use to at least store different timezone values per user (if nothing else).
Echo timezone_name_from_abbr("", 3600*7, 0); //ok echo timezone_name_from_abbr("", 3600*8, 0); //NOT ok! return nothing! echo timezone_name_from_abbr("", 3600*9, 0); //ok
Started by on , 3 posts by 3 people.  
By timezone_name_from_abbr This report corresponds exactly to the bug you are having.
I have an application that stores GMT time data in a MySQL db like this: 2009-12-16 15:27:47. The user's timezone offset is stored in another column like this: -6 The above timezone is GMT-6, which is CST. Is there any way I can echo CST (i.e. - date(...
Started by on , 3 posts by 3 people.  
Also, I would suggest storing the timezone identifier instead of the GMT offset, but I'm guessing your the timezone without....
Many GMT offsets have multiple timezones.
There isn't always a single timezone for each GMT offset.
How to get regional timezone on Compact Framework and then convert UTC date to local date?
Started by on , 3 posts by 3 people.  
P/Invoke GetTimeZoneInformation to get the current timezone biases, then use those to offset.
I need a way to detect the timezone of a given date object. I do NOT want the offset, nor do I want the full timezone name. I need to get the timezone abbreviation. For example, GMT, UTC, PST, MST, CST, EST, etc... Is this possible? The closest I've gotten...
Started by on , 4 posts by 4 people.  
Try Google's Closure ....
This script will do abbreviations for US timezones, but I don't know of one that handles international timezones.
If all else fails, you can simply create your own hashtable with the long names and abbreviations .
I'm using postgresql 8.3 and i would like to know the timezone of a particular timestamp (a column in a table). In the documentation i've found the keyword "timezone" But i don't understand how to apply it in a column of table. Is it possible ?
Started by on , 4 posts by 4 people.  
Sample (I live in Germany, actual timezone ist GMT+1 / CET ): test=# select '2008-01-01 12:00:00 GMT+5'::....
Use: SELECT EXTRACT(TIMEZONE FROM ct) FROM t; to get the offset of the timezone in seconds on your TIMEZONE setting.
This would be useful when I have a user's address or zipcode, and used that to find their timezone so they don't have to enter it in a separate field.
Started by on , 6 posts by 6 people.  
Instead, I would try ....
For example, if the user travels somewhere, their zip code hasn't changed, but their timezone has is traveling.
I would recommend against trying to deduce the timezone in".
Mention ESRI as a source of information.
Page: 1   2   3   4   5   6   7   8   9   10  
Related Searches
timezone dft    linux how to detect timezone    debian set timezone to utc    java_timezone_id    ubuntu 8 04 time utc local timezone    "DateTime TimeZone" windows   
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost