<cfoutput>
<cfset x = createTimespan(0,0,0,0)>
<cfset epoch = createDateTime(1899,12,30,0,0,0)>
<cfset date = epoch + x>
#date# #dateFormat(date)# #timeFormat(date)#
</cfoutput>
Run Code Online (Sandbox Code Playgroud)
输出:
0 30-Dec-99 12:00 AM
1899年12月30日有什么重要意义?
coldfusion ×1