Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need querry to return local time instead of GMT

Status
Not open for further replies.

tom11011

MIS
Oct 12, 2001
537
US
I have a simple query that returns the rows I want but the date field is shown in GMT. How can I modify the query to show local time? Any simple example will do.

thanks.
 
Can you post the query?
Are you using getdate()?

- Paul
- If at first you don't succeed, find out if the loser gets anything.
 
What do you get back from this?

Code:
[COLOR=blue]select[/color] [COLOR=#FF00FF]convert[/color]([COLOR=blue]char[/color](8),[COLOR=#FF00FF]getdate[/color](),108)

- Paul
- If at first you don't succeed, find out if the loser gets anything.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top