search for: gregorian

Displaying 20 results from an estimated 20 matches for "gregorian".

2009 Jan 07
2
Function to recognise convert dates between gregorian and other calendars (e.g. Persian)?
Dear list, I will shortly have some data that contains numeric dates in the Persian / Jalali calendar format, which I would like to convert to gregorian. At the moment there doesn't seem to be a function for this in R, but it would be great if someone could come up with same - I would attempt it but the algorithm is very complex and this is also way beyond my fairly rudimentary knowledge of R. There is an informative article about how this ca...
2006 Oct 19
3
Time conversion from Win32 64bit FILETIME?
Windows-32 has a time structure called FILETIME, a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (UTC). That is not a typo, the year is 1601. Does anyone have a clue(or algorhithm)for how this is converted to something a little more POSIX-like ? Thank you, Derek -- Derek N. Eder Gothenburg University VINKLA - Vigilance and Neurocognition
2009 Mar 10
1
?as.POSIXct (PR#13587)
...om: (NULL) (85.18.136.110) >From ?as.POSIXct ## SPSS dates (R-help 2006-02-17) z <- c(10485849600, 10477641600, 10561104000, 10562745600) as.Date(as.POSIXct(z, origin="1582-10-14", tz="GMT")) ^^ It should be 15 (Gregorian calendar adoption day, when SPSS starts to count seconds behind dates) . With 14, I used a .sav dataset imported with read.spss, and after as.Date(as.POSIXct()) I got (obviously) R.date = SPSS.date - 1 Bye (and thank you for givin'us R)
2017 Nov 08
2
Help Converting Calendars
R-Help Trying to convert a Gregorian calendar dataset to a Persian calendar dataset. But I end up with a list and not sure what to do. For example ... dates <- c("2017-10-1","2017-10-2","2017-10-3") myData <- data.frame(dates) myData$dates <- as.Date(myData$dates, format = "%Y-%m-%d"...
2006 Sep 18
1
ISO8601 week-of-year to date
Hi, are there any way to convert ISO8601 weeks to gregorian dates? Something like coverttodate(year=2006, week=38, day=1) # Sept 18, 2006 Thanks in advance, Ott
2011 Feb 04
3
Importing dates from SPSS file
Hello all, kind regards, I have imported a data.frame from SPSS using "foreign":read.spss but unfortunately it is reading dates in a way neither R nor myself can understand. > book$DATE [1] 13502246400 13443321600 13477795200 13472956800 13501728000 13445395200 13501382400 13502851200 13444185600 13461465600 13457232000 [12] 13458096000 13432435200 13431484800 13495334400
2017 Nov 08
0
Help Converting Calendars
...epartment of Anthropology Texas A&M University -----Original Message----- From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Jeff Reichman Sent: Wednesday, November 8, 2017 5:05 PM To: r-help at r-project.org Subject: [R] Help Converting Calendars R-Help Trying to convert a Gregorian calendar dataset to a Persian calendar dataset. But I end up with a list and not sure what to do. For example ... dates <- c("2017-10-1","2017-10-2","2017-10-3") myData <- data.frame(dates) myData$dates <- as.Date(myData$dates, format = "%Y-%m-%d"...
2004 Mar 03
2
read.spss and time/date information
I don't use SPSS but following through on your detective work can provide the likely answer. First note that both date numbers are evenly divisible by the number of seconds in a day, i.e. 24*60*60. This suggests that these numbers are seconds since some origin. Since we know "2003/02/11" corresponds to 13264300800 we deduce that the origin must be spss.orig <-
2012 Jun 21
6
where do I report this DateTime bug?
I have isolated what appears to be a bug in the Rails extensions to DateTime, but I don''t know where to report it. I have a standalone file to demonstrate the bug, but the punch line is that this code: TestRecord.create!(:f_datetime => (expected = DateTime.jd(2000000))) found = TestRecord.first.f_datetime puts("expected == found => #{expected == found}")
2006 Jun 07
2
Making an HTTP request to an external machine
During one of my controller actions I want to call an external machine before I do anything. It''s not a real web service, more like a REST-style thing where I''ll just be tweaking a servlet running on another machine and sending it some data. Does Rails give me anything to work with for doing that? I read the web service stuff but it''s overkill for what I need. I
2006 Jun 09
1
An idea: add RYUL to Rails
Dear Friends, I''d like to have a development suggestion for Rails. Rails is an amazing framework, and clearly it''s weakest link is that it relies on HTML in the end, which is not always the most appropriate GUI out there. Another option could be XUL. Mozilla-based browsers (Firefox) can run XUL apps right out of the box, others could use the XULRunner application. Here you can
2009 Jan 09
0
ConvCalendars
A new package ConvCalendars is on CRAN, in response to requests earlier this week. It performs conversions between the Gregorian calendar and other calendars including the Persian (Jalali) calendar used in Iran and Afghanistan and the Hebrew calendar used in Israel. All the heavy lifting is done by C code from http://www.projectpluto.com. -thomas Thomas Lumley Assoc. Professor, Biostatistics tlumley at u.washington...
2009 Jan 09
0
ConvCalendars
A new package ConvCalendars is on CRAN, in response to requests earlier this week. It performs conversions between the Gregorian calendar and other calendars including the Persian (Jalali) calendar used in Iran and Afghanistan and the Hebrew calendar used in Israel. All the heavy lifting is done by C code from http://www.projectpluto.com. -thomas Thomas Lumley Assoc. Professor, Biostatistics tlumley at u.washington...
2000 Dec 29
0
Cryptography patents (was: openssl lib question.)
...s/faq/ which has a good section on the key patents affecting cryptography, or http://www.mail-archive.com/openssl-users at openssl.org/msg01425.html which is a posting to one of the OpenSSL lists regarding patents on cryptographic algorithms. Hope this helps, and Happy New Year if you choose the Gregorian calendar! Rip Loomis Voice Number: (410) 953-6874 -------------------------------------------------------- Senior Security Engineer Center for Information Security Technology Science Applications International Corporation http://www.cist.saic.com > -----Original Message----- > From: Suni...
2013 Mar 15
2
Icalendar.Parse(StringIO.new(aString)) complains about missing method, bytesize
I need to send an ics file to a web service, so however it gets there it will arrive as a string. Is there another way to begin Icalendar''s Parse than with a file? I''m currently sending the file using the curl command... curl -v --data-urlencode ics at invite.ics http://127.0.0.1:4567/ics2event I''ve tried curl''s --data-binary and sinatra''s
2004 Aug 06
2
Vorbis stream on-line
Greetings: Ouch, that's not good. I can tap into the stream just fine with 'xmms http://64.108.112.135:8000/shouter.ogg' but not by clicking on the same address as a link. More debugging ahead... ;) Btw, I've restarted the stream. Thanks for the report ! Best regards, == Dave Phillips The Book Of Linux Music & Sound at http://www.nostarch.com/lms.htm
2004 Aug 06
2
Vorbis stream on-line
Greetings: Ouch, that's not good. I can tap into the stream just fine with 'xmms http://64.108.112.135:8000/shouter.ogg' but not by clicking on the same address as a link. More debugging ahead... ;) Btw, I've restarted the stream. Thanks for the report ! Best regards, == Dave Phillips The Book Of Linux Music & Sound at http://www.nostarch.com/lms.htm
2006 Apr 18
6
Best Practice for Returning to Calling Page?
I have a partial, it''s a shopping cart display, it''s designed to appear on several different pages of my site. One of the buttons on the shopping cart empties the cart, and then I want the calling page to redisplay. In other words, the cart controller needs to return the visitor to the same page -- however since the cart could appear on any given page, this has to be
2000 Dec 29
0
More [A tangent on RC5] Cryptography patents (was: openssl lib question.)
...ey > patents affecting cryptography, or > http://www.mail-archive.com/openssl-users at openssl.org/msg01425.html > which is a posting to one of the > OpenSSL lists regarding patents on > cryptographic algorithms. > > Hope this helps, and Happy New Year if > you choose the Gregorian calendar! > > Rip Loomis Voice Number: (410) 953-6874 > -------------------------------------------------------- > Senior Security Engineer > Center for Information Security Technology > Science Applications International Corporation > http://www.cist.saic.com > > &gt...
2010 Aug 20
0
Wine release 1.3.1
...annelInfo. advapi32: Add magic codes to HCRYPTKEY and HCRYPTHASH. advapi32/tests: Add more error reporting for ReportEvent tests. comctl32/tests: Do not perform comparison of dates if GetDateFormat fails. comctl32/tests: DateTimePicker and MonthCalendar controls only support Gregorian calendar. Damjan Jovanovic (4): winex11.drv: Use a Wine list to store XDnD data. winex11.drv: Filter out all CF_* formats when CF_HDROP is present. winex11.drv: Implement a framework for dragging from X and dropping to OLE. winex11.drv: Implement the DataObject for dragging...