I have the following:
and it returns an error but if i change it to:
it works... is there a better way to remove the "Friday" or the 'day' from the datetime?
- Matt
"If I must boast, I will boast of the things that show my weakness"
- Windows 2003 Server, 98 SE, XP
- VB.NET, VSTS 2010, ASP.NET, EXCEL VBA, ACCESS, SQL 2008
Code:
select cast('Friday, September 23, 2011 2:04:00 PM' as datetime)
Code:
select cast('September 23, 2011 2:04:00 PM' as datetime)
it works... is there a better way to remove the "Friday" or the 'day' from the datetime?
- Matt
"If I must boast, I will boast of the things that show my weakness"
- Windows 2003 Server, 98 SE, XP
- VB.NET, VSTS 2010, ASP.NET, EXCEL VBA, ACCESS, SQL 2008