date_as_datetime
No overview available.
def date_as_datetime(
d: date
) - > datetime
Converts a date object into a datetime object at midnight. Use this to normalize date-only values for operations requiring datetime precision.
Parameters
| Name | Type | Description |
|---|---|---|
| d | date | The date object to be converted into a datetime representation. |
Returns
| Type | Description |
|---|---|
datetime | A datetime object representing the start of the given date (00:00:00). |