-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Updated dates for Python added definitions and codeblocks #5492
base: main
Are you sure you want to change the base?
Conversation
Hey @tanmaytare , This PR does not mention the issue to which this PR relates to, due to which I find this PR invalid, you can raise new PR mentioning the same. Thanks. |
@SaviDahegaonkar Please review this at the earliest? |
|
||
Here's a more detailed example of using datetime.date() to create a date object and access its components: | ||
|
||
```python |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
```python | |
```py |
print("Day:", day) | ||
``` | ||
|
||
```Output: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
```Output: | |
The above example demonstrates how to create a date object in Python using the `date` class: | |
```shell |
Description
Issue Solved
Closes #5392
Made changes added example for dates.md
Type of Change
Checklist
main
branch.Issues Solved
section.