datename(weekday,getdate()) http://xinsheng.huawei.com/cn/index.php?app=forum&mod=Detail&act=index&id=366551&p=9