getutcdate during daylight savings time

  • Just quick and dirty , I can get the offset as a integer with

    SELECT

    cast(

    left(

    right (

    cast(SYSDATETIMEOFFSET() as varchar(40))

    ,6),3) as int)

    Again , quick and dirty.

    ----------------------------------------------------

Viewing post 16 (of 15 total)

You must be logged in to reply to this topic. Login to reply