Message-ID: <CAAmySGOUYJc9PjD-QHLS+6srWAo-Shy93jbkFUrjtjqbZQ5LWw@mail.gmail.com>
Date: 2012-09-27T15:33:20Z
From: R. Michael Weylandt
Subject: Start and End day of a month
In-Reply-To: <1348748461331-4644372.post@n4.nabble.com>
On Thu, Sep 27, 2012 at 1:21 PM, Rantony <antony.akkara at ge.com> wrote:
> Hi,
>
> Can anyone please help to get "StartDay" and "End-day of a particular month"
> with time ?
>
> For eg:- Input wil be "2012-09-27"
>
> i need to get output as given below
>
> StartDt <- "2012-09-01 00:00:01"
> EndDt <- "2012-09-30 23:59:59"
>
> - Thanks in advance
Look at xts::lastof().
Cheers,
Michael