T
tshad
Is there a quick function in vb out there that will convert seconds to
minutes and seconds?
Thanks,
Tom
minutes and seconds?
Thanks,
Tom
Kevin Spencer said:How about a couple of operators instead?
seconds \ 60 = minutes
seconds Mod 60 = seconds
Kevin Spencer said:Yes. You would have to put the values into a DateTime object and use the
.Minutes and .Seconds properties. But my method is more efficient.
calculation), there is really no reason to set up a separate object to
handle it.
Kevin Spencer said:No need for a CInt around anything. The VB.Net "\" operator returns an
integer.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.