SSIS expression builder: convert date/time to Epoch timestamp

前端 未结 1 1062
南方客
南方客 2021-01-25 03:52

I\'m trying to build an expression to convert a date/time parameter to an Epoch timestamp that will be used in a Url\'s parameter string.

I figured that I would try

1条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-25 04:04

    Try this one :

    DATEDIFF("SECOND",(DT_DBTIMESTAMP)"01/01/1970",GETDATE())
    

    0 讨论(0)
提交回复
热议问题