djsmiley2k

Untitled

Apr 6th, 2021
471
13 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. date = datetime.datetime.today() - datetime.timedelta(days=2)
  3. date = date.strftime("%d_%b_%Y")
  4. date1 = datetime.datetime.today() - datetime.timedelta(days=2)
  5. date1 = date1.strftime("%l_%b_%Y")
  6. date2 = date1.replace(" ","") ## replace space in date string
  7. print("Date is :" + date)
  8. print("date2 is :" + date2)
  9.  
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×