Skip to content

Instantly share code, notes, and snippets.

@dacr
Last active February 3, 2026 20:21
Show Gist options
  • Select an option

  • Save dacr/d50d33fe20312d80a458808fd7629825 to your computer and use it in GitHub Desktop.

Select an option

Save dacr/d50d33fe20312d80a458808fd7629825 to your computer and use it in GitHub Desktop.
Generates a simple timestamp. / published by https://github.com/dacr/code-examples-manager #041f284b-30c9-4ee9-a09f-7b4f66403f2b/70d5dfeaddfe978b53fe73916ce1001280915346
## summary : Generates a simple timestamp.
## keywords : bash, date, @testable
## publish : gist
## authors : David Crosson
## license : Apache License Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt)
## id : 041f284b-30c9-4ee9-a09f-7b4f66403f2b
## created-on : 2019-07-02T19:44:51+02:00
## managed-by : https://github.com/dacr/code-examples-manager
## run-with : sh $file
date +%Y%m%d_%H%M%S
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment