Apr 24, 2017
4
Level 2
How to show Different time(user created date) in different countries.
Question is pretty simple but i am struggling a lot to get it solve. Let me give a simple example,
- User has been created (Date is store in UTC format i guess).
2)When i go to User profile panel where i have shown "You joined at" , its gives me different time as i stay in India because time is stored in UTC. [This can be solved easily by changing TIMEZONE].
3)Now the problem is, My client is located at USA .
Now, How can i set dynamically set timezone. This may be stupid questing but i am expecting some useful answers. Thanks for your support and amazing Videos. Its really worth subscribing Laracast.
Please or to participate in this conversation.