def METHOD_NAME(self, mode):
    TIME = ""
    if mode==0:
        TIME = time.strftime("%Y/%m/%d %H:%M:%S", time.localtime())
    elif mode==1:
        TIME = time.strftime("%d/%m/%Y %H:%M:%S", time.localtime())
    elif mode==2:
        TIME = time.strftime("%Y%m%d", time.localtime())
    elif mode ==3:
        TIME = time.strftime("%H%M%S", time.localtime())
    elif mode ==4:
        TIME = time.strftime("%a", time.localtime())
        if TIME == "一":
            TIME = "Mon"
        elif TIME == "二":
            TIME = "Tue"
        elif TIME == "三":
            TIME = "Wed"
        elif TIME == "四":
            TIME = "Tur"
        elif TIME == "五":
            TIME = "Fri"
        elif TIME == "六":
            TIME = "Sat"
        elif TIME == "日":
            TIME = "Sun"
    else:
        TIME = "--> Can't mach with given time mode!"
    return TIME