On Wed, 26-Aug-2009 at 03:48AM -0700, rajclinasia wrote:

|> 
|> Hi everyone,
|> 
|> i have a data frame called 'sample'. in that 'sample' data frame variable
|> called 'starts' is there like this
|> 
|> starts
|> 37987
|> 37988
|> 37989
|> 37990 
|> 37991
|> 
|> now i want change that variable into 'yyyy-mm-dd' format. can any body help
|> in this aspect.

Check out the as.Date function.
?as.Date

HTH

-- 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.   
   ___    Patrick Connolly   
 {~._.~}                   Great minds discuss ideas    
 _( Y )_                 Average minds discuss events 
(:_~*~_:)                  Small minds discuss people  
 (_)-(_)                              ..... Eleanor Roosevelt
          
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.

______________________________________________
R-help@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.

Reply via email to