Re: [R] R timeDate does not allow seconds?

2007-11-02 Thread B. Bogart
Hello all, Sorry if anyone gets this message twice, as my mailserver may not be working. Thanks for your response. Your idea makes a lot of sense to me, but I've been unable to get seconds to work. I ended up with this format finally: 2007-10-31_16:20:22 Problem is I am unable to get it

Re: [R] R timeDate does not allow seconds?

2007-11-02 Thread B. Bogart
Hello, Sorry if anyone gets this message twice, as my mailserver may not be working. Thanks for your response. Your idea makes a lot of sense to me, but I've been unable to get seconds to work. I ended up with this format finally: 2007-10-31_16:20:22 Problem is I am unable to get it recognized

Re: [R] R timeDate does not allow seconds?

2007-11-02 Thread jim holtman
Seems to work fine with this call: inputdate = 2007-10-31_16.20.22 timeDate(as.character(inputdate),format=%Y-%m-%d_%H.%M.%S) GMT [1] [2007-10-31 16:20:22] On 11/2/07, B. Bogart [EMAIL PROTECTED] wrote: Hello all, Sorry if anyone gets this message twice, as my mailserver may not be

Re: [R] R timeDate does not allow seconds?

2007-11-02 Thread B. Bogart
Hi Jim, Yes that works!!! Why the heck do I need to put %H.%M.%S when the input format is %H:%M:%S ? (. in place of :. I see in the help(timeDate) examples where the format is properly written as %Y-%m-%d %H:%M:%S So why does this not work: date =

Re: [R] R timeDate does not allow seconds?

2007-11-02 Thread jim holtman
This is what your example had in it. You can format the data in any format that you want. This is nothing special about ':'. On 11/2/07, B. Bogart [EMAIL PROTECTED] wrote: Hi Jim, Yes that works!!! Why the heck do I need to put %H.%M.%S when the input format is %H:%M:%S ? (. in place of