Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Hello guys,how do i process datetime to reflect both hours and minutes ?Or is this done seperately ?thanks
int y = int.Parse(DOB_Year.SelectedValue); int m = int.Parse(DOB_Month.SelectedValue); int d = int.Parse(DOB_Day.SelectedValue); int h = int.Parse(DOB_hour.SelectedValue); int s = int.Parse(DOB_min.SelectedValue); DateTime dob7; dob7 = new DateTime(y, m, d,h,s);