On Wed, Feb 17, 2021 at 1:57 PM Jerry Geis wrote:
> SO from the man page on date I can do
>
> current=`TZ=":America/Indianapolis" date`
> echo $current
> current=`TZ=":America/Los_Angeles" date `
> echo $current
>
> And I get correct data. LA is 3 hours earlier. But doing this:
>
>
On Wed, Feb 17, 2021 at 01:57:50PM -0500, Jerry Geis wrote:
>
> SO from the man page on date I can do
>
> current=`TZ=":America/Indianapolis" date`
> echo $current
> current=`TZ=":America/Los_Angeles" date `
> echo $current
>
> And I get correct data. LA is 3 hours earlier. But doing this:
>
>
On 2/17/21 1:57 PM, Jerry Geis wrote:
> SO from the man page on date I can do
>
> current=`TZ=":America/Indianapolis" date`
> echo $current
> current=`TZ=":America/Los_Angeles" date `
> echo $current
>
> And I get correct data. LA is 3 hours earlier. But doing this:
>
>
SO from the man page on date I can do
current=`TZ=":America/Indianapolis" date`
echo $current
current=`TZ=":America/Los_Angeles" date `
echo $current
And I get correct data. LA is 3 hours earlier. But doing this:
current=`TZ=":America/Indianapolis" date +%s`
echo $current
4 matches
Mail list logo