Converts a .NET date to a JavaScript date value.

This version creates a new Date(xxx) expression.