C1 = JUSTSTEM("a\0329.xls")
C2 = TRANSFORM(LEFT(DTOS(DATE()), 4) + C1, "@R 9999,99,99")
D1 = DATE(&C2)
? D1
简化:
SET DATE ANSI
SET MARK TO "-"
REPLACE 日期 WITH CTOD(TRANSFORM(LEFT(DTOS(DATE()), 4) + JUSTSTEM("a\0329.xls"), "@R 9999-99-99")) ALL
[此贴子已经被作者于2021-5-4 09:25编辑过]