Created
August 13, 2010 13:28
-
-
Save bussiere/522882 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Return The Internet Time by Swatch | |
from time import strftime | |
def internet_time() : | |
return (int(strftime("%H:%M:%S")[0:2]) + (int(strftime("%H:%M:%S")[3:5]) / 60.0)) / 24.0 * 1000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment