→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
‎06-19-2018 03:22 PM
Solved! Go to Solution.
‎06-20-2018 03:45 PM
Convert(varchar,DatePart(mm, htblticket.date)) + '/' +
Convert(varchar,DatePart(dd, htblticket.date)) + '/' +
Convert(varchar,DatePart(yyyy, htblticket.date)) As CreationDate,
Convert(varchar,DatePart(mm, htblticket.updated)) + '/' +
Convert(varchar,DatePart(dd, htblticket.updated)) + '/' +
Convert(varchar,DatePart(yyyy, htblticket.updated)) As LastUpdated,
‎06-21-2018 03:21 PM
‎06-20-2018 05:06 PM
‎06-20-2018 04:20 PM
Convert(VarChar(10), some_datetime_field, 121)
Convert(VarChar(10), some_datetime_field, 101)
‎06-20-2018 03:45 PM
Convert(varchar,DatePart(mm, htblticket.date)) + '/' +
Convert(varchar,DatePart(dd, htblticket.date)) + '/' +
Convert(varchar,DatePart(yyyy, htblticket.date)) As CreationDate,
Convert(varchar,DatePart(mm, htblticket.updated)) + '/' +
Convert(varchar,DatePart(dd, htblticket.updated)) + '/' +
Convert(varchar,DatePart(yyyy, htblticket.updated)) As LastUpdated,
‎06-20-2018 02:33 PM
‎06-19-2018 05:38 PM
Convert(date,htblticket.date) As CreationDate,
Convert(date,htblticket.updated) As LastUpdated,
‎06-19-2018 05:59 PM
Charles.X wrote:
Converting the datetime to a date should work for you. Try replacing the date fields with the code below.Convert(date,htblticket.date) As CreationDate,
Convert(date,htblticket.updated) As LastUpdated,
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now