Dim cmd As New SQLCommandDim t_now As DateDim t As DateDim t_time As Datecmd.Ccmd.CommandText = "Select GETDATE() AS CurrentDateTime"t_now = cmd.ExecuteScalar()t = t_now.Datet_time = Format(t_now, "hh:mm:ss")
晚上20:15,上述式子得到的是8:15,怎么才能得到20:15呢