Thursday, April 23, 2015
Friday, February 27, 2015
Convert EPOCH timestamp to MSSQL (TSQL) timestamp
Easy conversion by below multiple dateadd calls is the only option available
select dateadd(ms, cast ([Column Name] AS BIGINT)%(3600*24*1000), dateadd(day, cast ([Column Name] as bigint)/(3600*24*1000), '1970-01-01 00:00:00.0'))
from
select dateadd(ms, cast ([Column Name] AS BIGINT)%(3600*24*1000), dateadd(day, cast ([Column Name] as bigint)/(3600*24*1000), '1970-01-01 00:00:00.0'))
from
Note: Assuming [Column Name] is imported in varchar format
Tuesday, July 1, 2014
Wednesday, March 17, 2010
Online JSON editor
Found this one helpful, so sharing an online JSON Editor here http://braincast.nl/samples/jsoneditor/
Also has a quick XML to JSON converter
Also has a quick XML to JSON converter
Subscribe to:
Posts (Atom)