Function to determine which date is older and newer?

I would like to get the current time from users computer, and compare that time with another time I pre-decided, and know if users time is newer than the my pre-decided time.

I used


var now:Date = new Date();
txtField.text = now.toString();

to Get “Wed Sep 17 17:42:46 GMT+0900 2008”

should I convert this to milliseconds?
I don`t know what to do next.
please help me.

thank you