Looks like Preview6 introduces a bug for the Date object. I didn't have problem in Preview5, but in this release,
Date.format(...) function returns an error "Object doesn't support this property or method". After debugging, I found
out that Date is serialized as a string instead of a Date object: /Date(1256918400000+0800)/