Created
September 17, 2014 22:51
-
-
Save tofias/63c1d5f95251c455ecbf to your computer and use it in GitHub Desktop.
Get date the easy way with 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
-- Get date the easy way with AppleScript | |
set theDate to do shell script "date +'%Y-%m-%d'" as string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Leaving this here because I never remember it.