Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql round datetime

SELECT Created,
	DATEADD(Day, DATEDIFF(Day, 0, Created), 0) AS CreatedDay
FROM tblHits
Source by improve.dk #
 
PREVIOUS NEXT
Tagged: #sql #datetime
ADD COMMENT
Topic
Name
1+3 =