必要なライブラリ
using NCMB; //use Nifty Cloub Mobile Backend using System;
日付用の変数
//変数
DateTime mydate;
public Text nyuYear;//入所日年
public Text nyuMon;//入所日月
public Text nyuDay;//入所日日
//
string myString = nyuYear.text + "/" + nyuMon.text + "/" + nyuDay.text;
DateTime mydate = DateTime.Parse(myString);
NCMBObject obj = new NCMBObject ("myobj");//NCMBobjectのクラス名
obj.Add("hiduke", mydate);//hidukeフィールド名にmydateを追加
obj.SaveAsync ((NCMBException e) => {
if (e != null) {
//エラー処理
} else {
//成功時の処理
Debug.Log("good");//送信成功の意味
}
});