Perl: Use TZ from user's .bashrc for localtime()
- by John
Each of my users has a (possibly) different TZ defined in their /.bashrc. I have a Perl script that displays date/time and want it to have it display with their profile time zone.
Does anyone know the best way to do this?