I have a list of UTC offsets as integers in seconds. For example, -36000 in -10 hours. How to find the UNIX timestamp, for example, at 10:00 p.m. in a place with this offset in PHP.
PS: This is not homework
thanks
new DateTime ($ yourTimestamp, new DateTimeZone ('UTC'));
should be good
Source: https://habr.com/ru/post/1396748/More articles:setprecision for boost :: program_options - c ++How reliable is TelephonyManager.getSimOperator () on CDMA devices? - androidClients want to copy / paste from word processors; rich-text editors will make this a mess. How do we solve this? - ms-wordIs the telephony manager reliable and volatile (cdma)? - javaIs there an API for Safari Reader? - safariGoogle Talk API Integration with Android Application - javaLower sorting estimates for a small fraction of the input? - sortingIn android, how do I create different fragments / actions in each tab that are stored in tabs? - androidHow to call Java function from c - javaIs there a nice idiom for adding a new list or adding to the list (if any) in the dictionary? - pythonAll Articles