0

I have

export TZ="/usr/share/zoneinfo/Europe/London"

in my .bashrc file, but the following output the time in UTC (GMT)

export TM=`date +%H%M%S`
export DTTM="`date +%a\ %F\ %T\ %Z`"
jezmck
  • 111
  • 3

1 Answers1

1

I believe you should just export the time zone, not the full path:

export TZ="Europe/London"
Matt Johnson-Pint
  • 439
  • 1
  • 3
  • 12