Number of days since 1/1/0001
Number of days since 1/1/0001
- Subject: Number of days since 1/1/0001
- From: ehsan saffari <email@hidden>
- Date: Fri, 23 Nov 2001 16:54:33 -0600
Given any date, I need to figure out the number of days that have passed
since January 1, 0001, (730811 days for 23/11/2001)
This should be easy with a simple date subtraction but AS simply refuses
to accept a date with a year less than 1000.
set {dd, mm, yyyy} to {1,1,1}
set temp to date ("" & dd & "/" & mm & "/" & yyyy)
--> date "Monday, January 01, 2001 00:00:00" ^!*%^@
any ideas?
cheers
ehsan