New Earth Time on Linux console
jorges Jun 13th, 2011 353 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- # Calculating New Earth Time (NET) on Linux Console
- # http://en.wikipedia.org/wiki/New_Earth_Time
- # Requirements: date, bc
- # Explanation:
- # -u: takes UTC time
- # The rest calculates all minutes of the current day and divides them by 4, as NET hast 360° per day, every grade having 4 minutes.
- date -u +(%H*60+%M)/4 | bc
RAW Paste Data