W wh88 Unregistered / Unconfirmed GUEST, unregistred user! 2007-06-29 #1 已知当前日期是2007.06.29 现在想取当前年的1月1日,也就是2007.01.01
A ava Unregistered / Unconfirmed GUEST, unregistred user! 2007-06-29 #2 StrToDate(FormatDateTime('yyyy', 你的日期) + '-01-01')
Z zqw0117 Unregistered / Unconfirmed GUEST, unregistred user! 2007-06-29 #3 DecodeDate EncodeDate 这两个函数能满足你的需求。
X xxj0828 Unregistered / Unconfirmed GUEST, unregistred user! 2007-06-29 #4 dt := StartOfAYear(YearOf(Date));
X xxj0828 Unregistered / Unconfirmed GUEST, unregistred user! 2007-06-29 #5 FormatDateTime('yyyy-mm-dd', StartOfAYear(YearOf(Date)));