English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I want to add 35 min in Sysyem time through ASP Now function.What is the way to do this?

2006-11-06 23:42:26 · 2 answers · asked by saxena_hemant 2 in Computers & Internet Programming & Design

2 answers

DateAdd("n", 35, Now)

2006-11-06 23:53:59 · answer #1 · answered by safrodin 3 · 0 0

in ASP.NET, this is done with the TimeSpan class.

Dim ts As New TimeSpan(0, 35, 0)
Dim datePlus35 As DateTime = DateTime.Now.Add(ts)

2006-11-07 08:08:21 · answer #2 · answered by Doug k 3 · 0 0

fedest.com, questions and answers