On Sat, Jul 4, 2009 at 12:24 PM, Mark Knecht wrote:
> On Sat, Jul 4, 2009 at 12:10 PM, Allan Engelhardt wrote:
>> 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 Sat, Jul 4, 2009 at 12:10 PM, Allan Engelhardt wrote:
> 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 t
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 li
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
4 matches
Mail list logo