DOC: how to_datetime %S differs from strptime
If any other changes are required please let me know.

- [ ] closes #47134  (Replace xxxx with the Github issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

Hello @MaruthiKo! Thanks for opening this PR. We checked the lines you've touched for [PEP 8](https://www.python.org/dev/peps/pep-0008) issues, and found:

* In the file [`pandas/core/tools/datetimes.py`](https://github.com/pandas-dev/pandas/blob/e26b3e2e130f28f10e67304c03d6582e79912441/pandas/core/tools/datetimes.py):

> [Line 776:68](https://github.com/pandas-dev/pandas/blob/e26b3e2e130f28f10e67304c03d6582e79912441/pandas/core/tools/datetimes.py#L776): [W291](https://duckduckgo.com/?q=pep8%20W291) trailing whitespace
> [Line 778:27](https://github.com/pandas-dev/pandas/blob/e26b3e2e130f28f10e67304c03d6582e79912441/pandas/core/tools/datetimes.py#L778): [W291](https://duckduckgo.com/?q=pep8%20W291) trailing whitespace
> [Line 780:54](https://github.com/pandas-dev/pandas/blob/e26b3e2e130f28f10e67304c03d6582e79912441/pandas/core/tools/datetimes.py#L780): [W291](https://duckduckgo.com/?q=pep8%20W291) trailing whitespace

 This pull request is stale because it has been open for thirty days with no activity. Please [update](https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#updating-your-pull-request) and respond to this comment if you're still interested in working on this. Closing as stale. Please let us know if you want to continue workion this and add the examples @MaruthiKo  > Closing as stale. Please let us know if you want to continue workion this and add the examples @MaruthiKo 

Carry on, I have not found any other examples to add on No worries, thanks anyway for your PR