mx.DateTime to datetime.datetime

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mp

    #1

    mx.DateTime to datetime.datetime

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

    Thanks

  • John Machin

    #2
    Re: mx.DateTime to datetime.dateti me


    mp wrote:
    Is there a constructor for an mx.DateTime object which takes a
    datetime.dateti me 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?

    Comment

    Working...