Autor | Zpráva | ||
---|---|---|---|
soucekgns Profil |
#1 · Zasláno: 5. 4. 2013, 16:09:18
Rád bych z přiloženého kódu dostal všechny údaje ve formátu dateTime: 2013-04-04T10:00:00+02:00, ale nedokážu přijít na postup. Díky za nápady.
Z google calendar si načtu obsah s takovouto strukturou: array(2) { ["kind"]=> string(15) "calendar#events" ["items"]=> array(1) { [0]=> array(2) { ["created"]=> string(24) "2013-04-04T21:38:39.000Z" ["start"]=> array(1) { ["dateTime"]=> string(25) "2013-04-04T10:00:00+02:00" } } } } |
||
aDAm Profil |
#2 · Zasláno: 5. 4. 2013, 16:19:34
foreach($pole['items'] as $item) { $created = $item[''created]; $start = $item['start']['dateTime']; ... } |
||
Virtus Profil |
$created = $googleCalendarStruktura['items'][0]['created']; $start = $googleCalendarStruktura['items'][0]['start']['dateTime']; |
||
Časová prodleva: 11 let
|
0