Link to home
Start Free TrialLog in
Avatar of tomhoran
tomhoran

asked on

How Do i run GETUTCDATE()

Can someone give the syntact to get the GMT date from sql, thanks
Avatar of namasi_navaretnam
namasi_navaretnam
Flag of United States of America image

declare @mydate datetime
select @mydate = GETUTCDATE()
print @mydate

HTH
Avatar of tomhoran
tomhoran

ASKER

HTH,

I'm trying to get this value into a VB program, how do i do that? Thanks. Tom
HTH,

CAn i do it via a select statment or comething??
ASKER CERTIFIED SOLUTION
Avatar of namasi_navaretnam
namasi_navaretnam
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial