VB Help (DateDiff) - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Skype & Technology (/forumdisplay.php?fid=9) +---- Forum: Tech Talk (/forumdisplay.php?fid=17) +----- Thread: VB Help (DateDiff) (/showthread.php?tid=46240) VB Help (DateDiff) by spokes on 06-13-2005 at 04:54 PM
ok, im making a program, and its going to count how many minutes are between 2 times, the times are from the same day btw, and i don't know how to do it. code:but it's returning 1 hour even though it should be 1 hour 30 mins RE: VB Help (DateDiff) by Dempsey on 06-13-2005 at 05:00 PM
you should be able to do code: Something like that RE: VB Help (DateDiff) by spokes on 06-13-2005 at 05:04 PM Doesn't work, if they got 59 mins left it still says 1 hour 0 mins RE: VB Help (DateDiff) by Dempsey on 06-13-2005 at 05:08 PM weird worked when i just tried it, are you sure you got the two times correct? RE: VB Help (DateDiff) by spokes on 06-13-2005 at 05:10 PM
might it be because time is (xx:xx:xx) and strLeave is only (xx:xx) ?? |