GalWat

Untitled

Jul 25th, 2021
742
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. next_birthday = dateofbirth.replace(year=now.year)
  2. if now > next_birthday:
  3.     next_birtday = dateofbirth.replace(year=now.year+1)
  4.    
  5. resInHours = int(next_birthday - now)
RAW Paste Data