Last active
June 2, 2017 07:07
-
-
Save sukeharu/1eeed9795b78c7a7da3a065629cfda27 to your computer and use it in GitHub Desktop.
Get four digit numbers as string from the right end of the unix time number, then set it to the clipboard by AppleScript.
This file contains 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
set d to (do shell script "d=`date +%s`;echo ${d:(-4)}") | |
set the clipboard to d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment