It's not so hard, ignore the Now bit and look at the second example Print Time(14, 18, 25)
I don't think the documentation could be much clearer, it just needs you to actually take the time to read it and figure out how to make the example work for you. The documentation can't possibly show exactly the statements *you* need every time... but try to follow the examples (and don't just stop and give up after the first sentence). The example shows nice printing of a time with 14 hours, 18 minutes, and 25 seconds. What do you think it'll show if the hours are zero, the minutes are zero and the seconds are 300? Regards, Caveat On Tue, 2012-01-31 at 14:11 -0800, abbat wrote: > I've read the docs, but my "300" seconds is not the same like "NOW" so it > does not work > > Emil Lenngren wrote: > > > > You should read the documentation. > > http://gambasdoc.org/help/lang/time?v3 > > http://gambasdoc.org/help/cat/time?v3 > > > > /Emil > > > > 2012/1/31 abbat <abbat...@mail.ru> > > > >> > >> How to convert a seconds to time format > >> > >> Dim Sec = 300 > >> > >> How to display it as: > >> > >> 00:05:00 > >> > >> Thanks > >> > >> -- > >> View this message in context: > >> http://old.nabble.com/Seconds-%3D%3E-Time.Format%28hh%3Amm%3Ass%29-tp33239641p33239641.html > >> Sent from the gambas-user mailing list archive at Nabble.com. > >> > >> > >> > >> ------------------------------------------------------------------------------ > >> Keep Your Developer Skills Current with LearnDevNow! > >> The most comprehensive online learning library for Microsoft developers > >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > >> Metro Style Apps, more. Free future releases when you subscribe now! > >> http://p.sf.net/sfu/learndevnow-d2d > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > ------------------------------------------------------------------------------ > > Keep Your Developer Skills Current with LearnDevNow! > > The most comprehensive online learning library for Microsoft developers > > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > > Metro Style Apps, more. Free future releases when you subscribe now! > > http://p.sf.net/sfu/learndevnow-d2d > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user