var DateTime:TDateTime;
begin
DateTime:=Now;
DateTime:=DateTime1+1;//得到明天此时
end;

解决方案 »

  1.   

    你想在什么地方
    SQL语句中?(什么数据库?)
    Delphi中?(什么版本?)
      

  2.   

    东北人真是活雷锋啊,
    我要用DELPHI
    LAST RECORD:2000-01-01
    要显示:2000-02-01;或2001-01-01
    是月,年,日,增加,有函数吗,
      

  3.   

    for an example
    thank you 
      

  4.   

    呵呵我要说的都在
    "C:\Program Files\Borland\Delphi5\Source\Samples\calendar.pas"
    上有,去看看
      

  5.   

    uses DateUtils;
    incDay(Date(),5);
    incMonth(Date(),5);
    incYear()
      

  6.   

    var DateTime:TDateTime;
    begin
    DateTime:=Now;
    DateTime:=DateTime1+1;//得到明天此时
    end; 
      

  7.   

    增加天DateTime:=DateTime+1;
    增加月IncMonth(DateTime,1);//第二个参数可以是任意个月
    增加年IncMonth(DateTime,12);
      

  8.   

    to xxmmmx(踢踏)
    IncYear在Delphi6中有,Delphi5中没有。
      

  9.   

    YEAR,NONTH,DAY:WORD;
    DECODETIME(NOW,YEAR,MONTH,DAY).
    然后处理
      

  10.   

    to:li_zhifu(东北人)
    怪不得俺在回到d5中编程时找不到。