Skip to content

Instantly share code, notes, and snippets.

@tofias
Created September 17, 2014 22:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tofias/63c1d5f95251c455ecbf to your computer and use it in GitHub Desktop.
Save tofias/63c1d5f95251c455ecbf to your computer and use it in GitHub Desktop.
Get date the easy way with AppleScript
-- Get date the easy way with AppleScript
set theDate to do shell script "date +'%Y-%m-%d'" as string
@tofias
Copy link
Author

tofias commented Sep 17, 2014

Leaving this here because I never remember it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment