Function datafusion::common::arrow::compute::kernels::temporal::num_days_from_monday

source ยท
pub fn num_days_from_monday<T>(
    array: &PrimitiveArray<T>
) -> Result<PrimitiveArray<Int32Type>, ArrowError>
๐Ÿ‘ŽDeprecated since 51.0.0: Use date_part instead
Expand description

Extracts the day of week of a given temporal primitive array as an array of integers.

Monday is encoded as 0, Tuesday as 1, etc.

See also num_days_from_sunday which starts at Sunday.