Hi Zeynel,
from the docs http://docs.python.org/library/datetime.html
you can call for example datetime.datetime.day wich returns an integer etc.
gr
wim

On Wed, Nov 10, 2010 at 5:19 PM, Zeynel <azeyn...@gmail.com> wrote:
> On Nov 10, 9:53 am, Wim den Ouden <wdenou...@gmail.com> wrote:
>> result is not part of datetime.datetime, use (
>> (datetime.datetime(result.mDATE.toordinal()) * result.mCOUNT)
>
> Thanks. But this gives the error:
>
> WEIGHT = datetime.datetime(result.mDATE.toordinal()) * result.mCOUNT
> TypeError: Required argument 'month' (pos 2) not found
>
> In any case, I would like to convert mDATE to integer; I don't think
> toordinal does that.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>



-- 
gr
wdo

Demo free E-business: https://e-comm.appspot.com
Wim den Ouden Google App Engine (cloud)

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to