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. ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user