RE: Convert Time?
From: Paul (Paul_at_discussions.microsoft.com)
Date: 02/02/05
- Next message: Gabi: "Sending a message from a trigger"
- Previous message: David Gugick: "Re: Convert Time?"
- In reply to: buc: "Convert Time?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 2 Feb 2005 12:09:01 -0800
109 should do it... mon dd yyyy hh:mi:ss:mmmAM (or PM)
Check Books Online under CONVERT for details.
Paul
"buc" wrote:
> How can I get the current time in 12H format?
>
> I tried convert(nvarchar,GetDate(),108) changing the 108 to other things but
> I cant seem to find the right one. Changing Regional Options in control
> panel had no affect..
> Thnaks
> BUC
>
>
>
- Next message: Gabi: "Sending a message from a trigger"
- Previous message: David Gugick: "Re: Convert Time?"
- In reply to: buc: "Convert Time?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|