8000 DOC: Add datetime64 example for 'Now' to get the current time by Shreyjaradi · Pull Request #26477 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

DOC: Add datetime64 example for 'Now' to get the current time #26477

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added the 'now' example in the datetime64 documentation
  • Loading branch information
Shreyjaradi authored May 18, 2024
commit be9df353769c831a335b9fb06c5e21d27921c746
3 changes: 2 additions & 1 deletion doc/source/reference/arrays.datetime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ months ('M'), weeks ('W'), and days ('D'), while the time units are
hours ('h'), minutes ('m'), seconds ('s'), milliseconds ('ms'), and
some additional SI-prefix seconds-based units. The `datetime64` data type
also accepts the string "NAT", in any combination of lowercase/uppercase
letters, for a "Not A Time" value. The string "now" gives results for the current time.
letters, for a "Not A Time" value. The string "now" gives results for the
current time.

.. admonition:: Example

Expand Down
0