title: Can anyone give me a function to calculate date and time in python ? I m in WINDOWS 10
body: <p>Please can anyone provide me function for time,date &amp; day in python</p>
  <p>just like time = time()
  and time = &quot;##:##:##&quot; # is replaced with current time in my laptop</p>
  <p>And date = date()
  and date = &quot;####/##/##&quot;</p>
  <p>And day = day()
  and day = &quot;sun/mon/tue/wed/etc&quot;</p>