写一条语句得到现在的日期,比如,今天是20090625,查出的数据为2009年06月20日?
来源:百度知道 编辑:UC知道 时间:2024/06/10 12:24:12
select convert(varchar(10),'200906月20',112)
CString strDate;
CTime ttime = CTime::GetCurrentTime();
strDate.Format("%d年%d月%d日",ttime.GetYear(),ttime.GetMonth(),ttime.GetDay());
不懂啊
http://zhidao.baidu.com/question/102519674.html
我懂,不告诉你
python:
import tinme
print time.localtime()