如果能的话怎么提?

解决方案 »

  1.   

    date()年月日
    now()年月日是分秒
    time()时分秒
    SELECT getdate()数据库服务器的NOW
      

  2.   

    在system单元中有一个函数声明
    procedure GetSystemTime; stdcall;external kernel name 'GetSystemTime';可用于调出系统时间你 GetSystemTime 或GetLocalTime都可
    传入一个参数如下结构
    typedef struct _SYSTEMTIME {  // st  
        WORD wYear; 
        WORD wMonth; 
        WORD wDayOfWeek; 
        WORD wDay; 
        WORD wHour; 
        WORD wMinute; 
        WORD wSecond; 
        WORD wMilliseconds; 
    } SYSTEMTIME; 完成后调用Format()想怎样显示就怎样显示