I need to convert datetime to Quarter. I have date time as the date type - 2009-01-01 00:00:00.000
how do I convert this 01 to Quarter "1" for example?
I need to convert datetime to Quarter. I have date time as the date type - 2009-01-01 00:00:00.000
how do I convert this 01 to Quarter "1" for example?
Copyright © 2021 Jogjafile Inc.
Per the documentation you can use the
datepart
function with theq
orqq
argument: