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  阅读(222)  评论(0)    收藏  举报