Try help("strptime").  Example

strptime(1080103L + 19e6L, "%Y%m%d")
# [1] "2008-01-03"

(This assumes your input is an integer but you can just drop the L if 
you want)


On 04/07/09 19:37, Mark Knecht wrote:
> Hi,
>     Is there a function that will convert this sort of date code which
> looks like "years from 1900 + month_number + day_number" with no
> spaces? As an example Jan. 3rd 2008 would be written as 1080103.
>
> Thanks,
> Mark
>
> ______________________________________________
> 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.
>    

	[[alternative HTML version deleted]]


