Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Posted: 08 Jul 2009 at 6:20am
split the string into year and month...
start is always 1.
create a datetime variable for the start date (2/1/09), use dateadd to add a month(3/1/09). use dateadd to subtract a day (last day of the month)(2/28/09).
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum