可以在windows的控制面版的时间日期里设置

解决方案 »

  1.   

    to  chenjiong(准程序员:升级中....) 这样根本就没有反映,可能只是在编辑时才会起作用!
      

  2.   

    可以在查询语句中处理:
    如 select covent(char(10),birthday,20) as mybirthday from mytable
    格式为'YYYY-MM-DD'
      

  3.   

    to gmc007(江西的佬表) 
    从前台还有别的办法吗?
      

  4.   

    给qselect.fieldbyname('currenttime')加强制类型转换:
    TDateTimeField(qselect.fieldbyname('currenttime')).displayformat:='hh:mm:ss'

    (qselect.fieldbyname('currenttime') as TDateTimeField).displayformat:='hh:mm:ss'
      

  5.   

    不好意思,我对DELPHI不是很熟的,不过我想你可以查一下帮助,总会有关于日期时间格式化的函数。