> On Oct 2, 2018, at 10:11 AM, David Winsemius wrote:
>
>
>> On Oct 2, 2018, at 6:30 AM, Marc Girondot via R-help
>> wrote:
>>
>> Dear members... are these results normal ?
>>
>> For the first one, no problem. I expected this:
>>
>>> strptime("05/01/18 01:00:00 AM", format = ("%m/%d/%y
> On Oct 2, 2018, at 6:30 AM, Marc Girondot via R-help
> wrote:
>
> Dear members... are these results normal ?
>
> For the first one, no problem. I expected this:
>
> > strptime("05/01/18 01:00:00 AM", format = ("%m/%d/%y %I:%M:%S %p"),
> > tz="Asia/Jayapura")
> [1] "2018-05-01 01:00:00
t; Hi
>>
>> Credit belongs to documentation. I picked it from it.
>>
>> Cheers
>> Petr
>>
>>> -Original Message-
>>> From: peter dalgaard
>>> Sent: Tuesday, October 2, 2018 4:15 PM
>>> To: PIKAL Petr
>>> Cc: Marc G
umentation. I picked it from it.
Cheers
Petr
-Original Message-
From: peter dalgaard
Sent: Tuesday, October 2, 2018 4:15 PM
To: PIKAL Petr
Cc: Marc Girondot ; r-help mailing list
Subject: Re: [R] Strange result for strptime with %p
Nice catch, Petr:
strptime("05/01/18 00:59:
Hi
Credit belongs to documentation. I picked it from it.
Cheers
Petr
> -Original Message-
> From: peter dalgaard
> Sent: Tuesday, October 2, 2018 4:15 PM
> To: PIKAL Petr
> Cc: Marc Girondot ; r-help mailing list project.org>
> Subject: Re: [R] Strange result
R-help On Behalf Of Marc Girondot via
>> R-help
>> Sent: Tuesday, October 2, 2018 3:30 PM
>> To: R-help Mailing List
>> Subject: [R] Strange result for strptime with %p
>>
>> Dear members... are these results normal ?
>>
>> For the first one,
Hi
Maybe it is connected to
%I
Hours as decimal number (01–12).
Your input has hour as 00
Cheers
Petr
> -Original Message-
> From: R-help On Behalf Of Marc Girondot via
> R-help
> Sent: Tuesday, October 2, 2018 3:30 PM
> To: R-help Mailing List
> Subject:
Dear members... are these results normal ?
For the first one, no problem. I expected this:
> strptime("05/01/18 01:00:00 AM", format = ("%m/%d/%y %I:%M:%S %p"),
tz="Asia/Jayapura")
[1] "2018-05-01 01:00:00 WIT"
For this one, it is ok also:
> strptime("05/01/18 01:00:00 AM", format =
8 matches
Mail list logo