[Zope] Last day of Month

Paolo Quaglia paolo@sitek.it
Tue, 12 Dec 2000 13:05:09 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0022_01C0643C.27C19FB0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi everibody
Is there some tricky way to know the last day of the month of a DateTime
object?
for ex: if my DateTime object is 12/12/2000 .... is there a method or a
function that return the last day of the month? (in this example 31)

Thanks a lot
Paolo Quaglia
Information Technology Coordinator
Sitek S.p.A.
paolo@sitek.it



------=_NextPart_000_0022_01C0643C.27C19FB0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D172110212-12122000>Hi=20
everibody</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D172110212-12122000>Is =
there some tricky=20
way to know the last day of the month of a DateTime =
object?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D172110212-12122000>for =
ex: if my=20
DateTime object is 12/12/2000 .... is there a method or a function that =
return=20
the last day of the month?&nbsp;(in this example 31)</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D172110212-12122000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D172110212-12122000>Thanks =
a=20
lot</SPAN></FONT></DIV>
<P><FONT face=3DArial size=3D2>Paolo Quaglia<BR>Information Technology=20
Coordinator<BR>Sitek S.p.A.<BR>paolo@sitek.it </FONT></P>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0022_01C0643C.27C19FB0--