Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

DATE

declare @dates table (orig varchar(50) ,parsed datetime)

SET DATEFORMAT ydm;

insert into @dates
select '2008-09-01','2008-09-01'

SET DATEFORMAT ymd;
insert into @dates
select '2008-09-01','2008-09-01'

select * from @dates
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #DATE
ADD COMMENT
Topic
Name
2+5 =