<pre class="c" name="code">DateTime newTime = DateTime.Now.AddSeconds(123);
這是從MSDN上面抄來的...希望合用喔^^
http://msdn.microsoft.com/zh-tw/library/system.datetime.add(v=vs.95).aspx#Y200
<pre class="c" name="code">
System.DateTime today = System.DateTime.Now;
System.TimeSpan duration = new System.TimeSpan(0, 0, 10, 0); //時,分,秒,毫秒
System.DateTime answer = today.Add(duration);
outputBlock.Text += String.Format("{0:dddd}", answer) + "\n";