Jan 10, 2003 #1 SarahG Programmer May 23, 2002 111 IE This is probably a very basic question, but how do you make getdate() display seconds as mine shows: Jan 10 2003 3:47PM Thanks in advance
This is probably a very basic question, but how do you make getdate() display seconds as mine shows: Jan 10 2003 3:47PM Thanks in advance
Jan 10, 2003 #2 timscronin MIS Jun 27, 2001 837 US How are you selecting it? If I do select getdate() in QA I return 2003-01-10 09:49:39.223. Are youy calling this from an app or just in QA Upvote 0 Downvote
How are you selecting it? If I do select getdate() in QA I return 2003-01-10 09:49:39.223. Are youy calling this from an app or just in QA
Jan 10, 2003 Thread starter #3 SarahG Programmer May 23, 2002 111 IE Yes I'm using QA, just straight select getdate() Actually in the meantime, I've found the convert function returns what I want, if I run select convert(datetime,getdate(),108) But I'd be interested in knowing why my QA defaults to my format and yours to another. Upvote 0 Downvote
Yes I'm using QA, just straight select getdate() Actually in the meantime, I've found the convert function returns what I want, if I run select convert(datetime,getdate(),108) But I'd be interested in knowing why my QA defaults to my format and yours to another.