[Tutor] a DateTime object

Sean 'Shaleh' Perry shalehperry@attbi.com
Sun Mar 2 17:55:01 2003


On Sunday 02 March 2003 10:20, Erik Price wrote:
> Hi,
>
> What is a good way to take a user-supplied input string and convert it
> to a Unix timestamp (seconds since epoch)?  I know that the time module
> in stdlib offers both time() and mktime() but these both operate on
> "now", rather than some user-supplied datetime.
>
> I am not really looking to implement this myself but rather if there is
> another module that does this kind of thing.  If not, I can probably
> come up with my own implementation without too much trouble, just don't
> feel like doing extra work.
>

hunt down mxDateTime.