I would like to print the time in local time in Laravel. If the user create a post it will display the created time on the server. How can I display it in local time ?
Best option is to do this with Javascript, get client's timezone and then convert server time to cleint's accordingly.
Please refer https://stackoverflow.com/a/1837243/4007628