Prashant Shukla
7th May 2008, 09:33
Dear all,

Is there any way standarad functions available in Baan so I can get first date and last date of month.

example : I have only Year i.e 2008 and month is April 4 or Feb. 2. Function should give me following results

01/04/2008, 30/04/2008 or if month is 2 then 01/02/2008, 29/02/2008.

Or could you pl. guide me to develop this function using Baan's string, date standard lib. functions.


With Thanks & Regards !
Prashant

george7a
7th May 2008, 09:54
Hi,

First is always 1. The following link tells you how to find the last day:
http://www.baanboard.com/baanboard/showthread.php?p=54738

I hope it helps,

- George

Juergen
7th May 2008, 10:00
Hi,

maybe this thread can help you http://www.baanboard.com/baanboard/showthread.php?t=9888&

Regards,
Juergen

Prashant Shukla
7th May 2008, 13:06
Thanks to all of you for this great help and very brillient reply from mark_h, thanks once again.

prashant