Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
"Prateek Jain" <prateekvjain@gmail.com> wrote in message
news:mailman.139.1147157764.848.informix-list@iiug.org...
> Hi,
> I want to execute query for that i require end date of the month,
>
> suppose if the month is April then it should return 30
> if March then in should return 31
> Is there any inbuilt function for that which give the end date of the month
>
> Regards
> Prateek.Jain
DATE( MDY(MONTH(TODAY),1,YEAR(TODAY)) + (1 UNITS MONTH) - (1 UNITS DAY) )
--
Regards,
Doug Lawry
www.douglawry.webhop.org
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.