Visual Basic

Moderators: None (Apply to moderate this forum)
Number of threads: 18011
Number of posts: 55384

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Help Working Hours Posted by prbspfc on 21 Feb 2008 at 6:49 AM
Hi, I have to do a module 'Working hours':

Example:

StartHour EndHour Interval/Lunch WorkedHoursTotal
Sunday 08:00 17:00 01:00 (EndHour-StartHour)-Interval
Monday 09:00 18:00 02:00 (EndHour-StartHour)-Interval
Tuesday xx:xx xx:xx (EndHour-StartHour)-Interval
...
...
...
Total: Column Sum

The Start/End/Interval are a TextBox inputed by user, others are
calculated...

Can it be calculated by Classic VB 6? Any hour functions ?

Thanks in advance!
Report
Re: Help Working Hours Posted by dokken2 on 21 Feb 2008 at 12:27 PM

: Can it be calculated by Classic VB 6? Any hour functions ?


VB6 has a number of time functions-
hour, minute, second, day, now

also, there's the Format function



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.