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
Dim hours As Integer
Dim minutes As Integer
hours = Fix(inmins / 60)
mins = inmins - hours * 60
MinsToHourMinsStr = Str(hours) + ":" + Str(mins)
End Function