Hi,
I'm trying to create some countdown timer animations. There is no tool to convert from a
real date back to QC seconds since 2001 so I'm trying to use the built in javascript functions.
I've tried the following javascript:
var date = new Date("2006,01,01,00,00,00");
var now = new Date();
var diff = date.getTime() - now.getTime();
outputs[0]=diff;
outputs[1]=date.getMilliseconds;
outputs[2]=now.getMilliseconds;
but outputs 1 and 2 return QCStructures with zero elements? Date is part of core javascript
so this should work as far as I can tell?
PS. The Apple lists search function is broken, I tried searching the list and get no results no
matter what I search for...
Roger
Eskatonia Visuals
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden
This email sent to email@hidden