Mega Code Archive
Categories
/
MSSQL
/
Date Timezone
Select DATEPART(weekday, 2002-09-30 11
2> select DATEPART(weekday, '2002-09-30 11:35:00') 3> GO ----------- 2 (1 rows affected)