Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Calculation of Start and Stop Time in mins and show that on datagrid

Posted on 2007-07-30
1
Medium Priority
?
184 Views
Last Modified: 2013-11-26
Hi all,

I am using VB2005 and currently I would like to check the date from a datagrid on my form. If the Date = Now then check the StartTime. If the StartTime=Now then do something. When it comes to the StopTime then stop the procedure. Additionally, I would like to count the mins from StartTime and StopTime. The mins will be shown after the calculation of the datagrid. Can you please provide me with coding the answer?  
0
Comment
Question by:ls3ag
1 Comment
 
LVL 96

Accepted Solution

by:
Bob Learned earned 250 total points
ID: 19594029
Dim minutes As Integer = StopTime.Subtract(StopTime).TotalMinutes

Bob
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Simple Linear Regression
Introduction to Processes

580 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