I want to compare the system date with a date stored in a SQL Server table.

Example: SomeDate < SystemDate

How do I get the current system date using Javascript....and do I need to convert the date field from the SQL Table.

Very confused

Thanks

Tom