Skip to content

Date format issue.

4 messages · jim holtman, Ashim Kapoor, David Winsemius

#
You get the NA since it is indeterminate as to the date; paste on a 1
for the day"
[1] "1980-03-01"
On Tue, Jun 28, 2011 at 8:04 AM, Ashim Kapoor <ashimkapoor at gmail.com> wrote:

  
    
#
On Jun 28, 2011, at 8:04 AM, Ashim Kapoor wrote:

            
You should be able to change that from the format menu in Excel. If  
you use a "custom" format of yyyy-mm-dd and then save as csv you get  
dates in "%Y-%m-%d" acceptable format for importing, namely your date  
which on the data entry line appears as 3/1/80 appears in the cell as  
1980-03-01, and likewise in the text output the same way, and could be  
input using a colClasses argument of "Date".