Has anyone used this built-in function in ICM Scripting before; Weekday()? I am trying to use it in a script to read off a day of week based on a historical date, but I can't figure out how to determine input into the function. For example it won't accept Weekday(2008,08,13) like a Date() function will. I can get it to work with the results returned by ICM from Date(); result for today would be 148878. So, when I test Weekday(148878) it does work and proplerly returns 4 as today is Wednesday. Now my only problem is how can I convert a past date into the accepted format. For example I want to figure out what day of week 01/01/08 was. How do I translate 01/01/08 into a 148XXX value?
I have this problem too.