Ask coding questions

← Back to all posts
How to detect when it is 2022 December 20 or later?
RixTheTyrunt

Hey guys ( LOLZ ) , I want to detect if it is 2022 December 20 or later in Python. Is it possible? I currently commented that part it'll do

Voters
RixTheTyrunt
Comments
hotnewtop
GautamSudarshan
Ganesha1
  1. buy calender
  2. mark off a date everyday
  3. wait until you mark december 20th
  4. profit
MrVoo

Use the datetime module