I am trying to convert any Unix epoch time value into IST timezone.
Unix date:
date -d@1509872957 gives Sun Nov 5 01:09:17 PST 2021
for UTC:
date -d@1509872957 -u gives Sun Nov 5 09:09:17 UTC 2017
Is there any similar way to convert for IST time-zone. I tried using command
TZ='Asia/Kolkata' date
, but I am not able to work it out for any epoch.