How to add time stamps for two time zones in the body of e-mails

user1 bqz69 at telia.com
Mon Dec 20 15:54:20 UTC 2010


On Sun, 19 Dec 2010 16:39:58 +0000, user1 wrote:

>> HTH, and that I get out of the dog house.
> 
> Thanks, you put me on the track *smile*
> 
> ###
> 

I have improved the contents of the date.sh bash shell script:
 
#!/bin/bash
echo This mail was written:
date +%A%t%I%P
echo Swedish time.
date --date='6 hours ago' +%A%t%I%P
echo Knoxville time.

You will need to edit line 4, 5 and 6 for your "time zones" :-)








More information about the ubuntu-users mailing list