In Custom Module Time Stamp Is Showing in Utc but i want to show local time zone

I have created a custom module and in that module i want to give timestamp with local time zone.
In my local platform its showing my local time zone but in dev or uat its showing utc time there.
so how can i show the local time zone in custom module

This issue is resolved using new Date(UtcTimeDate) in anguar js its converting utc time to local system time zone