[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Add hours to string

Posted on 2007-07-29
2
Medium Priority
?
163 Views
Last Modified: 2013-11-26
Hi..

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

I like to add 8 hours to this date,?

0
Comment
Question by:AWestEng
  • 2
2 Comments
 
LVL 6

Accepted Solution

by:
hatem72 earned 1000 total points
ID: 19588514

Hi

dtNow = dtNow.AddHours(8)
0
 
LVL 6

Expert Comment

by:hatem72
ID: 19588527

Glad i can help ...
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question