Last active
August 26, 2016 02:10
-
-
Save dbellotti/578c49a10efe466ff945769b7f849737 to your computer and use it in GitHub Desktop.
Trons left before Aug 27, 2016 18:00 PDT
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
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
func main() { | |
tronRunTime := 96 * time.Minute | |
endTime := time.Date(2016, time.August, 27, 1, 0, 0, 0, time.UTC) | |
trons := endTime.Local().Sub(time.Now().Local()).Seconds() / tronRunTime.Seconds() | |
fmt.Printf("%.2f Trons\n", trons) | |
return | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment