I want to compute the difference of time values.
The values are loaded from my database (which are captured via biometrics) into labels.

Here's a screen shot:


And I would like also to separate the hour value and minutes then the computation.
Any idea where I will start.?

:)

Thanks

Recommended Answers

All 3 Replies

Start by looking yo the function difftime()

I have this

lblhuam.Caption = DateTime.DateDiff("H", lbliam.Caption, lbloam.Caption)
lblhupm.Caption = DateTime.DateDiff("H", lblipm.Caption, lblopm.Caption)

But i don't know how to separate the munite from the same data.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.