Jump to content

sheraz4pro

New Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by sheraz4pro

  1. I am new to PHP. i am working on an application in which logged in user will set datatime on which they want to be notified about some event. On that time, server will send email to the user. The problem is i have to send emails relative to user's specified datetime. i have got following information of user timezone. GMT , OFFSET. Now i don't know how to calculate/convert user date/time to server datetime. Please guide or give me some example code. i ahve serached the net but unable to understand it because they are using timezone somthing like it $userTimezone = new DateTimeZone('America/New_York'); but i don't have timezone in this format. i only have offset and GMT or UTC thing. please guide me how i will convert it to server time.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.