VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



simple code to change minutes to hours and minutes

by Adrian Liew (2 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 26th November 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

simple code to change minutes to hours and minutes

Rate simple code to change minutes to hours and minutes



Dim hours As Integer
Dim minutes As Integer
hours = Fix(inmins / 60)
mins = inmins - hours * 60
MinsToHourMinsStr = Str(hours) + ":" + Str(mins)
End Function

Download this snippet    Add to My Saved Code

simple code to change minutes to hours and minutes Comments

No comments have been posted about simple code to change minutes to hours and minutes. Why not be the first to post a comment about simple code to change minutes to hours and minutes.

Post your comment

Subject:
Message:
0/1000 characters