procedure TForm1.Button1Click(Sender: TObject);
var
Present: TDateTime;
Year, Month, Day:Word;
begin
Present:= Now;
DecodeDate(Present, Year, Month, Day);
showmessage('今天是'+inttostr(Year)+'年'+inttostr(Month)+'月'+inttostr(Day)+'日');
end;
[Delphi] 在delphi中分别获取当前年月日
转载请附本站链接,未经允许不得转载,,谢谢:微慑信息网-VulSee.com » [Delphi] 在delphi中分别获取当前年月日



![[插曲] 《雪千寻》—好梦常回,忘断情思路-微慑信息网-VulSee.com](http://city.9sky.com/non-cgi/usr/27/27_4200_21.gif)
![[业界] 网络侵权处罚空前严厉 个人提供非法下载也要罚-微慑信息网-VulSee.com](http://cimg2.163.com/catchpic/1/13/13FDD84C2305354CB2677318A3D7AA7D.jpg)



![[八卦] 王婷婷—揭秘一个大三女生的性爱录像-微慑信息网-VulSee.com](http://free.86hy.com/crack/pic/1.jpg)
![[随笔]今天国际警察节-微慑信息网-VulSee.com](http://photo.sohu.com/20041017/Img222528326.jpg)

青云网
