[Zope] time conversion /kv

Kai Vermehr k at eboy.com
Fri Nov 7 11:39:18 EST 2003


I'm sorry, but I'm fairly new to programming and Zope ...

why does a method of the DateTime API not work with Python Scripts? 
What is a constructor? And how call the pCommon() on the instance? What 
is the instance in this case?

And is it possible to make a date conversion with a Python script or 
even recommendable?

Maybe an example would help ...

thanks!



On 07.11.2003, at 17:28, Andreas Jung wrote:

>
>
> --On Freitag, 7. November 2003 17:22 Uhr +0100 Kai Vermehr 
> <k at eboy.com> wrote:
>
>> I have this little script:
>>
>> 	mytime = pCommon(2003/11/01)
>> 	return mytime
>>
>
> Why should this work? pCommon() seems to be a method of the DateTime
> API. Means you must pass the the date as string to the constructor
> of DateTime and then call the pCommon() on the instance.
>
> -aj
>




More information about the Zope mailing list