isoweekday()

Date

isoweekday() : day of the week as integer, Sunday =0 , Monday =1 ....

Today's isweekday()
from datetime import date
dt=date.today()
print(dt.isoweekday())
Output
2
Using date and time object
from datetime import datetime
dt=datetime(2019,12,31)
print(dt.isoweekday())
Output
2
2nd Saturday Display 2nd and 4th Saturday of the month
calendarCalendar module to Create yearly or monthly Calendars
All Date Objects
Subscribe to our YouTube Channel here


Subscribe

* indicates required
Subscribe to plus2net

    plus2net.com



    Post your comments , suggestion , error , requirements etc here





    Python Video Tutorials
    Python SQLite Video Tutorials
    Python MySQL Video Tutorials
    Python Tkinter Video Tutorials
    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2024 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer