The System.Windows.Forms Timer (I assume this is the one you are using) has an interval property, which is an int type and is measured in milliseconds, so to set the timer interval to 30 minutes you just set it to 30000 ,
System.Windows.Forms.Timer timer;
timer.Interval = 30000;
You do not have to worry about the format of the time at all.
Hope this helps