numpy 2.0.0
npy_datetimestruct Struct Reference

#include <ndarraytypes.h>

Data Fields

npy_int64 year
npy_int32 month
npy_int32 day
npy_int32 hour
npy_int32 min
npy_int32 sec
npy_int32 us
npy_int32 ps
npy_int32 as

Detailed Description

This structure contains an exploded view of a date-time value. NaT is represented by year == NPY_DATETIME_NAT.

Field Documentation


The documentation for this struct was generated from the following file: