//===== Hercules Script =======================================
//= Sample: Time Test
//===== By: ==================================================
//= rAthena Dev Team
//===== Current Version: =====================================
//= 20151115
//===== Description: =========================================
//= Demonstrates time commands.
//============================================================

prontera,157,181,6	script	Time Sample	8W_SOLDIER,{
	mes "[Time Sample]";
	mes "       System Tick : " + gettimetick(0);
	mes "         Time Tick : " + gettimetick(1);
	mes "    GETTIME_SECOND : " + gettime(GETTIME_SECOND)     + " (Sec)";
	mes "    GETTIME_MINUTE : " + gettime(GETTIME_MINUTE)     + " (Min)";
	mes "      GETTIME_HOUR : " + gettime(GETTIME_HOUR)       + " (Hour)";
	mes "   GETTIME_WEEKDAY : " + gettime(GETTIME_WEEKDAY)    + " (WeekDay)";
	mes "GETTIME_DAYOFMONTH : " + gettime(GETTIME_DAYOFMONTH) + " (MonthDay)";
	mes "     GETTIME_MONTH : " + gettime(GETTIME_MONTH)      + " (Month)";
	mes "      GETTIME_YEAR : " + gettime(GETTIME_YEAR)       + " (Year)";
	mes " GETTIME_DAYOFYEAR : " + gettime(GETTIME_DAYOFYEAR)  + " (Day of Year)";
	mes "        gettimestr : " + gettimestr("%Y-%m/%d %H:%M:%S",19);
	close;
}
