0

I am having a rows of data with the timestamp value as mentioned below:

  • 0x00000000120431EB
  • 0x00000000120431ED
  • 0x0000000012043257
  • 0x0000000012043259
  • 0x000000001204330D

Is there any possibility to convert them into proper datetime as dd/mm/yyyy hh:mm:ss?

I tried using cast but ended up with the below errors:

  • SELECT CAST(0x00000000120431EB AS date)
  • SELECT CAST(0x00000000120431EB AS datetime)

same error message for both the query,

Conversion failed when converting datetime from binary/varbinary string.

Also have tried convert but ended with error:

  • select CONVERT(date,0x00000000120431EB)

Conversion failed when converting date and/or time from character string.

0 Answers0