Times and dates

Bengt Richter bokr at oz.net
Thu Nov 7 11:32:13 EST 2002


On Thu, 7 Nov 2002 16:32:10 +0100, "YorizZ" <yorizz at forpresident.com> wrote:

>Hi,
>
>I'm abit confused about the time and stuff in Python.
>I want to run my program from the commandline and give it two arguments.
>those two strings need to be converted to date or time types.
>I know that i can create a string from a date with strtime(date), but not
>the other way around..
>
Your question leaves a lot to guess about ;-)

Have you looked at

    http://www.python.org/doc/current/lib/module-time.html

If that doesn't have what you need, make a stab at some code
and post it, together with an example of the input and output
you would like. Then people will have a better idea of how to help.

Regards,
Bengt Richter



More information about the Python-list mailing list