polars.internals.series.DateTimeNameSpace.day

DateTimeNameSpace.day() polars.internals.series.Series

Extract the day from the underlying date representation. Can be performed on Date and Datetime.

Returns the day of month starting from 1. The return value ranges from 1 to 31. (The last day of month differs by months.)

Returns
Day as UInt32