dotfiles

regexghost dotfiles and scripts
git clone https://git.regexghost.com/dotfiles.git
Log | Files | Refs | README

date-time.sh (486B)


      1 #!/bin/sh
      2 
      3 TZ="America/Los_Angeles" date +"Los Angeles:    %H:%M:%S - %a, %b %d (%Z)"
      4 TZ="America/New_York" date +"New York:       %H:%M:%S - %a, %b %d (%Z)"
      5 date -u +"UTC:            %H:%M:%S - %a, %b %d (%Z)"
      6 TZ="Europe/London" date +"London:         %H:%M:%S - %a, %b %d (%Z)"
      7 TZ="Europe/Paris" date +"Paris:          %H:%M:%S - %a, %b %d (%Z)"
      8 TZ="Asia/Seoul" date +"Seoul:          %H:%M:%S - %a, %b %d (%Z)"
      9 TZ="Australia/Sydney" date +"Sydney:         %H:%M:%S - %a, %b %d (%Z)"