as.Date("06/10/2013", "%m/%d/%y") # returns "2020-06-2013 [1...">All geek questions in one placeWhy is as.Date ("06/10/2013", "% m /% d /% y") returning to 2020?As the name says,>as.Date("06/10/2013", "%m/%d/%y") # returns "2020-06-2013 [1] "2020-06-10" What causes this? I use windows with 32 bit RGui and the latest zoo package.Thanks.+4r time-series zoocylondude Jun 12 '13 at 1:20source share1 answerBecause %y not %y : R> as.Date("06/10/2013", "%m/%d/%Y") # note capital-Y [1] "2013-06-10" R> +14Dirk eddelbuettel Jun 12 '13 at 1:23source shareSource: https://habr.com/ru/post/1485718/More articles:Error Detection and Reporting Using Maybe - parsingIE 10 drag and drop still open the file, although there is a dragover event - internet-explorerGamesClient does not connect. Error: "Call connect () and wait for onConnected () to be called." - javaCreating a comma-separated sequence of numbers based on input in Bash - scriptingGetting request parameters for Slim - phpStorm command does not work with NoClassDefFoundError after adding jsoup according to the specified dependency - javaNoClassDefFoundError after converting a simple java project to a maven project in eclipse - javaDBpedia SPARQL Query American Universities - dbpedia.NET TraceSource not working under Windows Azure - c #GPUImage: Medium Brightness Detection of Several Rectangular Subregions - gpuimageAll Articles
As the name says,
>as.Date("06/10/2013", "%m/%d/%y") # returns "2020-06-2013 [1] "2020-06-10"
What causes this? I use windows with 32 bit RGui and the latest zoo package.
Thanks.
Because %y not %y :
%y
R> as.Date("06/10/2013", "%m/%d/%Y") # note capital-Y [1] "2013-06-10" R>
Source: https://habr.com/ru/post/1485718/More articles:Error Detection and Reporting Using Maybe - parsingIE 10 drag and drop still open the file, although there is a dragover event - internet-explorerGamesClient does not connect. Error: "Call connect () and wait for onConnected () to be called." - javaCreating a comma-separated sequence of numbers based on input in Bash - scriptingGetting request parameters for Slim - phpStorm command does not work with NoClassDefFoundError after adding jsoup according to the specified dependency - javaNoClassDefFoundError after converting a simple java project to a maven project in eclipse - javaDBpedia SPARQL Query American Universities - dbpedia.NET TraceSource not working under Windows Azure - c #GPUImage: Medium Brightness Detection of Several Rectangular Subregions - gpuimageAll Articles