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.
Octav Chiriac — — source: Informix-list mailing list archive (1991-1998)
SUNIL S. SINGH wrote:
>
>Hi All !!
>
>Is there any function or technique to find last day of month
>ie 29 or 28 or 30 or 31 for a particular date(dd/mm/yy)
>
Let's say our date is m_date:
DAY(MDY(MONTH(m_date), 1, YEAR(m_date)) + 1 UNITS MONTH) - 1 UNITS DAY)
Hope it helps,
Octav
--
Octav Chiriac Phone: (373) 2 21 20 96
NetInfo S.R.L. Fax: (373) 2 21 20 96
Chisinau (373) 2 24 00 83
Moldova, Republic of mailto:com@netinfo-moldova.com
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.