Created
September 29, 2023 09:01
-
-
Save smkplus/1bb1e5d40693b9b25c0be0c2b68ea1f7 to your computer and use it in GitHub Desktop.
Get Persian Date
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import jdatetime | |
# Get the current date in Persian | |
today = jdatetime.date.today() | |
# Print the full date in Persian | |
print(today.strftime("%A %d %B %Y")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment