[R] Format

Duncan Murdoch
Sun, 09 Jun 2024 20:54:54 -0000

On 2024-06-09 4:39 p.m., Val wrote:
> HI all,
>
> My
> I am trying to convert character date (mm/dd/yy)  to YYYY-mm-dd date
> format in one of the columns of my data file.
>
> The first few lines of the data file looks like as follow
>
>   head(Atest,10);dim(Atest)
>        ddate
> 1  19/08/21
> 2  30/04/18

Those aren't legal months in the first entry.  Your format looks like it
should be "%d/%m/%y".

Duncan Murdoch