pykx DatetimeAtom,DateTimeVector how to create it ?

https://learninghub.kx.com/forums/topic/pykx-datetimeatomdatetimevector-how-to-create-it

it seems DatetimeAtom is depreciated. However, is there a way to create it for backward compatibility ?

Documentation mentions pykx.DatetimeAtom(pykx.q('0wz'))

however using pykx.q requires a license.

What about in unlicensed version ? is there another way to create DatetimeAtom and DateTimeVector?

thanks

Hi,


As the datetime type is deprecated PyKX does not have an implementation of a Python --> datetime conversion.


PyKX does not provide a rich interface for the q datetime type, as it is deprecated. Avoid using it whenever possible.

https://code.kx.com/pykx/3.1/api/pykx-q-data/wrappers.html#pykx.wrappers.DatetimeAtom