Displaying 20 results from an estimated 20000 matches similar to: "Strategy for handling historical dates while avoiding timezones"
2008 Jan 10
2
how to calculate time offset between timezones?
#QUESTION#
Is there a way to calculate the offset between timezones, e.g. from "AST" to
"GMT"?
#DETAILS#
I am working with data files that use local time, and that indicate the
timezone by e.g. "AST" (Atlantic Standard Time, my local time) in a header.
I was guessing that
> ISOdatetime(2008,1,1,1,0,0,tz="GMT") -
>
2008 Sep 04
1
Timezone support?
This is a follow-up to the thread ending with:
http://rubyforge.org/pipermail/vpim-talk/2008/000120.html
I too am in search of some ruby parser for icalendar which properly handles
timezones on the datetimes in the icalendar RFC.
As I understand it there are actually three types of times.
1) UTC times with a string form of yyyymmddThhmmssZ
note the trailing Z indicates zulu time aka utc.
2)
2003 Jul 31
4
timezones
I have some questions and comments on timezones.
Problem 1.
# get current time in current time zone
> (now <- Sys.time())
[1] "2003-07-29 18:23:58 Eastern Daylight Time"
# convert this to GMT
> (now.gmt <- as.POSIXlt(now,tz="GMT"))
[1] "2003-07-29 22:23:58 GMT"
# take difference
> now-now.gmt
Time difference of -5 hours
Note that the difference
1998 Dec 04
1
timezones not properly reflected on timestamps of files
I have read the documentation, performed the diagnostic tests, checked
the archives, so if the answer is there, please accept my apologies in
advance and simply direct me.
I am running redhat Linux 2.0.3 and using smbmount to mount several
directories from NT3.51 servers which are distributed gloablly in
different timezones. Once mounted the files all have local timestamps
which makes syncing
2010 Apr 09
2
Asterisk & Timezones
Hi all,
I have noticed something I can't solve regarding Asterisk (latest
1.6.0.x).
My server is set at the GMT+2 timezone. The clock is ok (I can get the
correct time at the terminal). But today I got a call at a time where
Asterisk should have gone 'off business hours'.
All log times are wrong by exactly 2 hours. As if Asterisk would just
sit on GMT, ignoring the GMT+2
2009 Nov 10
6
getting the timezone name from an abbreviation
HI,
I am creating n onlinecalendar sort of functionality for which the
user input for events is taken. To make it user friendly, its left to
the user to write the time down rather than selecting it from a
datetime field in a form
.
The user can also specify a timezone. And while doing so its obvious
that most inputs will be an abbreviation.
My question is - is there a way to convert
2009 Mar 04
2
patch for axis.POSIXct (related to timezones)
I am finding that axis.POSIXct uses the local timezone for deciding where to
put tic marks, even if the data being plotted are in another time zone. The
solution is to use attr() to copy from the 'x' (provided as an argument) to
the 'z' (used for the 'at' locations).
I have pasted my proposed solution in section 1 below (as a diff). Then, in
section 2, I'll put some
2006 Jun 09
2
Timzones, UTC, and to_xml()
Does anyone know a good way to hook into the AR to_xml() method to
allow for adjusting datetimes to a user''s timezone?
Basically I want a user to be able dump all their data before
cancelling an account. I store all datetime info as UTC as per the
recommendations of Jamis Buck and Scott Barron in the Rails Recipe
article "Dealing with Timezones". Come to think of it I bet
2006 May 19
1
flickr like DST timezone management
Hello everyone
I wonder if anyone can point me to the library for timezone management
with DST support, which has timezones, like flickr has. I know that
there is TZInfo, but it''s a bit different for it has huge list of
available timezones in ''Continent/City'' format. I would like my
application to have timezones list more like on flickr (or windows
regional settings) -
2008 Nov 10
1
TimeZone Help - Finding TimeZone codes
I have looked at
?as.POSIXct
?POSIXct
and many of the references that are on those pages.
I am bewildered with timezones. Is there a way to get what would go
into tz="" for making a function that uses POSIXct to be able to be
used in all of the timezones in just the united states? This is for
both windows and mac...
this is the function that I am wanting to use it with
2024 Sep 24
2
Question about Date Object and time zones
Hello,
I have a question regarding the date objects and timezones. My current
understanding is, that a Date object does only save the days from the
origin and no more information about timezones or other information
(please correct me if I am wrong).
But if I use
d = as.Date("2024-11-11")
or
d = as.Date("2024-11-11", tz="America/New_York")
the date object is
2008 Jan 18
2
SAY TIME + PHPAGI + Timezone
Hello All,
Is there any way to change the timezone on the fly? I have this little
time clock program running on Asterisk system developed using PHPAGI.
Currently, whenever user logs in, Asterisk will prompt the current
system time using "$agi->say_time();" which executes "SAY TIME". Now the
current timezone set on the system is "PST", and I have a request to
2005 Oct 15
3
sambaLogonHours and timezones
Hi guys/girls,
How are you keeping ?
A while ago I mentioned a problem that I'm picking up with Samba with
OpenLDAP and the "logon hours" restrictions which are implemented via the NT
4.0 User Manager.
Basically my problem was that users were unable to login 2 hours before the
actual restriction should kick in.
At the time I thought that perhaps the problem was caused by
2006 Mar 16
5
TimeZone, TZInfo, daylight savings, and composed_of
Does anyone know the best way to track time zone information. There doesn''t
seem to be much documentation on this. So far it seems like a simple db
field like
create table accounts (
id int unsigned not null auto_increment,
name varchar(50) not null,
time_zone varchar(50) not null,
...
primary key (id)
)
and a class like
class Account < AR
...
2020 Apr 24
4
Timezone conversion on Ubuntu 20.04
Hi all,
I am testing R 4.0 and ran into an issue with timezones on Ubuntu
Focal: converting a timestamp to another timezone results in NA:
as.POSIXct(as.POSIXlt(Sys.time(), tz = "CET"), tz = "EST")
This only happens on Ubuntu Focal, it seems to work fine on Ubuntu
Bionic. I am the standard ubuntu docker image icw/ r-base from Dirk's
ppa:edd/r-4.0 on both systems.
Am I
2009 Aug 25
3
Timezone not recognised kludge
This is for Wine 1.1.28 compiled under a customised personal Linux based on Slackware.
When running winefile from a terminal, get a line:
"fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias -720, std (d/m/y): 5/04/2009, dlt (d/m/y): 27/09/2009"
Wine source: ../dlls/ntdll/time.c holds the function "find_reg_tz_info".
Running: #
2018 Dec 07
2
Dead link in documentation of ?timezones
This link is referenced in ?timezones and appears to have been
moved/removed. Is there a replacement?
http://www.twinsun.com/tz/tz-link.htm
[[alternative HTML version deleted]]
2005 Feb 18
1
creating POSIXct dates in C
I'm trying to generate POSIXct times in a call to a C function.
However, I'm having trouble generating times with the proper offset from
UTC.
Can anyone offer any help with this issue?
I've looked at R-2.0.1/src/main/datetime.c, but I was not able to find
an example that I could easily pull from that file.
Thanks in advance,
Whit
Here is my example in C:
#include <stdio.h>
2024 Sep 25
1
Question about Date Object and time zones
24 ???????? 2024 ?. 17:10:13 GMT+03:00, Luca Brinkmann via R-help <r-help at r-project.org> ?????:
> My current
> understanding is, that a Date object does only save the days from the
> origin and no more information about timezones or other information
> (please correct me if I am wrong).
You are correct.
> the date object is displayed in my RStudio environment as
2008 Nov 24
1
timezone attribute lost
Hi,
As I didn't get any response on the general help list and I don't know
if there is a bug in action I am trying my luck here.
I was highly surprised to find out that during simple operations (see
code below) the timezone attribute for POSIXct data is lost and then,
upon the next interpretation, the system settings are used (which are
plain wrong in my case).
I have used R 2.8.0