你这是么个东西,日期可以比较大小啊,用日期函数就可以啊,请参考:
https://help.fanruan.com/finereport/doc-view-883.html
日期格式怎么和0比较啊
你是要判断T6 F6都有值吧
and(len(T6)>0,len(F6)>0,T6>F6)
或是
and(len(T6)>0,len(F6)>0,format(T6,"yyyy-MM-dd")>format(F6,"yyyy-MM-dd"))
T6>F6&&F6>0
或者
and(T6>F6,F6>0)
两个日期天数相减
DATEDIF(T6,F6,"D") >0