Hi Everyone -
I am struck with one of script where i have to find the running totals from it. I am using SQL Server 2005.
SELECT
@UserID ID
,Event Event
,(CASE WHEN ShipDate < DATEADD(wk,-2,StDt)+1 THEN '2Weeks'
WHEN ShipDate < DATEADD(wk,-1,StDt)+1 THEN '1Week'
WHEN ShipDate <...
Hi All,
My problem is converting the Timezone. My server is in Eastern Time Zone, but users can be anywhere in world. So I wanted them to see the time of their records in their local time.
I'm trying to write a formula as
shiftdatetime(currentdatetime, "EST,300,EDT", "GMT,0,GMT")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.