以下のサイトを参考に
[ui_picker setTimeZone:[NSTimeZone timeZoneWithAbbreviation:@"GMT"]];
のようにすると日付の誤差はなくなりましたが、時刻の誤差はそのままでした。
http://pukapuka-ahirusan.blogspot.com/2010/11/uidatepicker.html
どうやら、UIDatePicke…
要素Aが配列Bの中に存在するか調べるには in_array を使う。
以下の例では、配列Bの中に要素Aが存在するので「Got elementA」が出力されます。
$arrayB = array(“elementA”, “NT”, “Irix”, “Linux”);
if (in_array(“elementA”, $arrayB)) {
echo “Got elementA”;
}
graffiti on the web
この投稿へのコメント
コメントはまだありません。