Skip to content

Scrap a website to get current time and date from INTERNET and copies it to your clipboard!

License

Notifications You must be signed in to change notification settings

Tuhin-thinks/time-on-clipboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

time-on-clipboard

Description:

Scrap date and time from https://www.timeanddate.com/

use BeautifulSoup to extract the time and date portion from the page's HTML content.

Nect, using pyperclip to copy the content to your clip board.

Purpose:

  1. I was facing a problem, that, my Desktop's time was getting changed after I turn-off and reopen the Desktop. So, this is just form of an utility to copy the time to my clipboard, so I can directly paste the content to the cmd(administrator) and change the time.
  2. I tried using pyautogui and win32api (separately) to resolve the isse, (to change the time), but it can't be fixed like that. But now my code works just fine. Whenever, I feel like, then, I run the program and open cmd as administrator(type, 'time') and paste the content and hit enter, to literally change the time.

Requirements:

The requirements.txt file is been provided. you can open your cmd or terminal, and type, pip3 install -r requirements.txt to install the requirements.

About

Scrap a website to get current time and date from INTERNET and copies it to your clipboard!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages