Skip to content

Instantly share code, notes, and snippets.

@kpmiller
Last active April 1, 2021 17:34
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 kpmiller/1d43481ff20f5a9c2196ade51a69028a to your computer and use it in GitHub Desktop.
Save kpmiller/1d43481ff20f5a9c2196ade51a69028a to your computer and use it in GitHub Desktop.
python automator workflow for inserting time and date
import datetime
print (datetime.datetime.now().strftime("%d %b %Y %-H:%M %p"))
@kpmiller
Copy link
Author

kpmiller commented Apr 1, 2021

Make sure to click the Output replaces selected text as shown in the image

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