Skip to content

Instantly share code, notes, and snippets.

@snickerjp
Created June 10, 2012 08:02
Show Gist options
  • Save snickerjp/2904439 to your computer and use it in GitHub Desktop.
Save snickerjp/2904439 to your computer and use it in GitHub Desktop.
Pasonatech EventCalendar exchange iCal
<?php
//日付指定とJSTの時差分追加
$e->setProperty( 'DTSTART'
, $split_matches[0], $split_matches[1], $split_matches[2], $split_matches[3], $split_matches[4], 00, "+090000" ); // 24 dec 2007 19.30
?>
<?php
//LOCATIONをハッシュ化しているところ
$hashlocation = md5($title[$key]);
//UIDを生成しているところ
$e->setProperty( 'uid'
, "$dtstart-$hashlocation@snicker-jp.info");
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment