select DATEPART(hour,getdate())
select DATEPART(minute,getdate())
This is just an example...
assuming u're using SQL SERVER
Otherwise
use
select substring(convert(varchar(20),getdate()), 13, 20)
good luck
|
Results 1 to 2 of 2
Thread: EASY Question!Threaded View
|
Click Here to Expand Forum to Full Width |