ISO Datetime in PHP -


I have an ISO data-time format parsed from web calendar ICS files, I have created calendar events in Google and yahoo. At Google, I made it from 11:00 to 11:30 IST time. In Yahoo, I made it for 11:30 to 11:45 IST.

I have got the ICS file for both incidents. My problem is with the event start time and end time in ICS files. Google Start Time - 20140218 T060000Z (GMT provides time)

Yahoo Start Time - 20140218T113000Z (provides local time)

How can I check that timezone GMT in ISO date time Has not changed in GMT? Please help me in getting this Thanks in advance.

You can use the ical file to have a timezone declaration. This location returns

DTSTART , for example:

  DTSTART; TZID = America / New York: 199801190020000  

But િકલ is not a very accurate "science", it seems that everyone uses it differently See announcements on:

  X-WR- timezone: Europe / Berlin  

which appear only once in the ICL file. / P>

After creating a datetime object, you can use the Datetime :: Set Time Zone to set it up. Example from:

  $ date = new date time ('2000-01-01', new datetime zone ('Pacific / Now')); Transcript $ date- & gt; Format ('Y-M-DH: I: SP'). "\ N"; $ Date-> Set timezone (new dated timezone ('Pacific / Chatham')); Transcript $ date- & gt; Format ('Y-M-DH: I: SP'). "\ N";  

Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -