Day =  time .day .get  (  )  
                           
Description :

This instruction returns the current day set in the operating system.

Return Value :

  • Current day; 0=Sunday, 1=Monday, 2=Tuesday, and so on.

Examples :