Handle timestamps and durations with datetime64 and timedelta64.
NumPy provides high-performance fixed-width `datetime64` and `timedelta64` types to support efficient date ranges and time-series arithmetic.
Think of `datetime64` as a precise stopwatch starting from January 1, 1970 (Unix Epoch), capable of measuring dates in days, hours, or nanoseconds.
Specify precision inside brackets: `datetime64[D]` for Day precision, `datetime64[s]` for seconds, `datetime64[ns]` for nanoseconds.
dates = np.arange('2026-01-01', '2026-01-10', dtype='datetime64[D]')np.datetime64('17-08-2026') # Fails to parse invalid formatnp.datetime64('2026-08-17') # ISO 8601 YYYY-MM-DDNumPy datetime64 strictly follows the ISO 8601 standard (`YYYY-MM-DD`).
Solve the objective below using NumPy vectorized syntax
Create `d = np.datetime64('2026-01-01')` and print it.
2026-01-01