[R] date & time manipulation- R 2.15.1 windows 7

John Kane jrkrideau at inbox.com
Thu Mar 14 16:43:56 CET 2013


A good place to start might be http://www.jstatsoft.org/v40/i03/paper for the lubridate package or have a look at the zoo package

John Kane
Kingston ON Canada


> -----Original Message-----
> From: yash.kajaria at gmail.com
> Sent: Thu, 14 Mar 2013 19:15:00 +0530
> To: r-help at r-project.org
> Subject: [R] date & time manipulation- R 2.15.1 windows 7
> 
> Hi,
>     I wanted to learn how to solve a date and time manipulation where i
> can
> do the following two
>     1. difference of two dates eg (differnce between 5th jan 2013 and 1st
> jan 2013)
> 
>     2.Suppose i have week number of the year, i want to know if i can
> find
> out the day it refers to eg( say week 2 of 2013 would be  6th jan 2013
> and
> the day is sunday)
>        i need my result to tell me that its the 6th of jan 2013 as well
> as
> the day (sunday)
> 
> Can u please help me out?
> 
> Thanks,
> Yashvardhan Kajaria
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!



More information about the R-help mailing list