Add hours to string

Hi..

I have this format on a string. yyyy-MM-dd HH:mm:ss

I like to add 8 hours to this date,?

LVL 1
AWestEngAsked:
Who is Participating?
 
hatem72Connect With a Mentor Commented:

Hi

dtNow = dtNow.AddHours(8)
0
 
hatem72Commented:

Glad i can help ...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.