mx.DateTime to datetime.datetime

M

mp

Is there a constructor for an mx.DateTime object which takes a
datetime.datetime object? It seems like a pretty common thing to do but
I didn't see such a constructor in the mx.DateTime docs.

Thanks
 
J

John Machin

mp said:
Is there a constructor for an mx.DateTime object which takes a
datetime.datetime object? It seems like a pretty common thing to do but
I didn't see such a constructor in the mx.DateTime docs.

1. It's very strange that you got the impression from the mx docs that
the author was anything but thorough i.e. that he might implement
something and not document it.

2. When you went to the python interactive prompt, imported the module
and did a dir(), what did you see?

3. Have you contemplated writing a bridging function?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top