Message-ID: <c502a9e10809090534x553e7642w300b349b5a0e66bc@mail.gmail.com>
Date: 2008-09-09T12:34:22Z
From: stephen sefick
Subject: Compiling date
In-Reply-To: <48C65A10.2090309@lisse.NA>
this is day month year?
look at chron or maybe the easiest is to use excel to change the format
On Tue, Sep 9, 2008 at 7:12 AM, Dr Eberhard Lisse <el at lisse.na> wrote:
> Why not Format -> Cell in Excell?
>
> el
>
> on 9/9/08 1:03 PM Henrique Dallazuanna said the following:
>> Try this:
>>
>> strptime(x, ifelse(nchar(x) == 8, '%d/%m/%y', '%d/%m/%Y'))
>>
>> On Tue, Sep 9, 2008 at 3:48 AM, Megh Dal <megh700004 at yahoo.com> wrote:
>>
>>> Hi,
>>>
>>> I have following kind of dataset (all are dates) in my Excel sheet.
>>>
>>> 09/08/08
>>> 09/05/08
>>> 09/04/08
>>> 09/02/08
>>> 09/01/08
>>> 29/08/2008
>>> 28/08/2008
>>> 27/08/2008
>>> 26/08/2008
>>> 25/08/2008
>>> 22/08/2008
>>> 21/08/2008
>>> 20/08/2008
>>> 18/08/2008
>>> 14/08/2008
>>> 13/08/2008
>>> 08/12/08
>>> 08/11/08
>>> 08/08/08
>>> 08/07/08
>>>
>>> However I want to use R to compile those data to make all dates in same
>>> format. Can anyone please tell me any automated way for doing that?
>
> ______________________________________________
> 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.
>
--
Stephen Sefick
Research Scientist
Southeastern Natural Sciences Academy
Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.
-K. Mullis