Convert Julian Date to YYYY-MM-DD

后端 未结 8 1141
心在旅途
心在旅途 2021-01-06 16:11

I have searched far and wide, but I can\'t seem find a way to convert julian to yyyy-mm-dd.

Here is the format of my julian:

The Julian format

8条回答
  •  清歌不尽
    2021-01-06 17:08

    I concatenated 20 to my JD and then ran DATEADD(YEAR, LAST_CHANGE_DATE / 1000 - 1900, LAST_CHANGE_DATE % 1000 - 1)

    this got me the result. Thank you!!!

提交回复
热议问题