[Gambas-user] Time Format => Error
Kende Krisztián
nemh at ...2007...
Mon Jul 29 19:19:11 CEST 2013
Or you may calculate manually:
Dim nNum As Long = 32768
Dim nHour As Long
Dim nMin, nSec As Byte
nHour = Int(nNum / 3600)
nMin = Int(nNum / 60) - nHour * 60
nSec = nNum - (nHour * 3600 + nMin * 60)
>
> Hello.
> It was good to use Time(0, 0, seconds) but for now I need to use more
> seconds.
>
> So, now I get:
>
> Print Time(0, 0, 32767) => 09:06:07
> Print Time(0, 0, 32768) => 14:53:52 (00/00/0000 14:53:52)
>
> How can I get Format("hh:nn:ss") from seconds?
>
> Thanks.
More information about the User
mailing list