Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SSIS and Import/Export (2005)
 UTC Time in expression

Author  Topic 

jamie_pattison
Yak Posting Veteran

65 Posts

Posted - 2008-08-11 : 07:08:32
I have an expression (see http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=108391) the expression works very well, however when the time is displayed it shows one hour behind - is there a way around this?

Thanks

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-08-11 : 08:32:19
You want in GMT? then use GETUTCDATE() instead of GETDATE()
Go to Top of Page

jamie_pattison
Yak Posting Veteran

65 Posts

Posted - 2008-08-11 : 08:39:29
Its already using GETUTCDATE except for one of them. I made the change but it made no difference.......
Go to Top of Page

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2008-08-11 : 08:52:49
Do you have tried to replace all GETUTCDATE() with GETDATE()?

Webfred

Too Old to Rock 'n' Roll, Too Young to Die
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-08-11 : 09:52:09
quote:
Originally posted by jamie_pattison

Its already using GETUTCDATE except for one of them. I made the change but it made no difference.......


what's your actual time zone?
Go to Top of Page

jamie_pattison
Yak Posting Veteran

65 Posts

Posted - 2008-08-11 : 10:43:42
GMT Standard Time
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-08-11 : 11:49:41
quote:
Originally posted by jamie_pattison

GMT Standard Time


and what does GETDATE() & GETUTCDATE() return for you?
Go to Top of Page
   

- Advertisement -