DateTimePicker1.DateTime:=IncMonth(Trunc(now+1)-1/24/60/60,1);

unit SysUtils;
DateTimePicker1.DateTime:=IncMonth(Trunc(now+1)-1/24/60/60,1);

 

posted @ 2012-03-26 10:51  ftwsnow  阅读(216)  评论(0编辑  收藏  举报