I have clients from different many timezone, and I need analyze their system logs which the date is printed in their local machine timezone.
example: Mon Apr 03 00:50:15 CST 2017
actually I don't care about their timezone, what I need to print in my application only their local time, so the printout in my apps side must be: 2017-04-03 00:50:15.
how to convert the given date without concern about their timezone or my local server timezone or without have to set date_default_timezone_set in my apps? is there any php function to do that?
I want to avoid use string manipulation as much as possible.
thank you in advance.
BR//G