void Start() { Debug.Log(FunDateTimeAccess.GetCurrentTime(0)); Debug.Log(FunDateTimeAccess.GetCurrentTime()); Debug.Log(FunDateTimeAccess.GetCurrentTime(1, 3)); Debug.Log(FunDateTimeAccess.GetCurrentTime(1, 1)); }
void InsertScore(string name, int newScore) { string todayDate = FunDateTimeAccess.GetTodayDate(); string sqlQuary = String.Format("INSERT INTO HighScores(Name, Score,date) VALUES (\"{0}\",\"{1}\",\"{2}\");", name, newScore, todayDate); SQLInput(sqlQuary); }