很简单,字体用《sf square head》
核心语句用
hour = fscommand2("GetTimeHours");
minute = fscommand2("GetTimeMinutes");
d = fscommand2("GetDateDay");
w = fscommand2("GetDateWeekday");
if (hour < 10) {
hour = "0" add hour
}
if (minute < 10) {
minute = "0" add minute
}
if (d < 10) {
d = "0" add d
}
switch (w) {
case 0 :
wk = "SUN";
break;
case 1 :
wk = "MON";
break;
case 2 :
wk = "TUE";
break;
case 3 :
wk = "WED";
break;
case 4 :
wk = "THU";
break;
case 5 :
wk = "FRI";
break;
case 6 :
wk = "SAT";
break;
}