C# get-time code

I want to get my computer time in c# script and then use the time for the if cmmand like tihs: if(time == 14.00){} but i can’t figure out how can i do it

DateTime now = DateTime.Now; // could do DateTime.Now.ToLocalTime(); // but… but you shouldn’t need a conversion.

if (now.Hour == 14)
{
	// do things
}

System.DateTime.Now

Thanks everybody I was able to use this:
System.DateTime somVariable = System.DateTime.Now;

and then
if(somVariable.Hour >= 2){

// mah stuff

}