Created
August 17, 2020 13:28
-
-
Save denihida1216/7a5f8bb089635de4e64487f8afbea93a to your computer and use it in GitHub Desktop.
Odoo Python Konversi Tanggal
This file contains hidden or 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 datetime | |
def dow(date): | |
days=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"] | |
dayNumber=date.weekday() | |
print days[dayNumber] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment