Skip to content

Instantly share code, notes, and snippets.

@rainbow23
Created September 25, 2025 08:07
Show Gist options
  • Select an option

  • Save rainbow23/e46c02322b2de44b1d6e5675d7ae2d14 to your computer and use it in GitHub Desktop.

Select an option

Save rainbow23/e46c02322b2de44b1d6e5675d7ae2d14 to your computer and use it in GitHub Desktop.
datetime=$(TZ=Asia/Tokyo date +'%Y%m%d%H%M%S')
echo "$datetime"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment