Re: [Gambas-user] Seconds => Time.Format(hh:mm:ss)

2012-01-31 Thread Caveat
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 exac

Re: [Gambas-user] Seconds => Time.Format(hh:mm:ss)

2012-01-31 Thread Emil Lenngren
This is from the documentation: Time *Date* *= Time (* *Hours* AS Integer *,* *Minutes* AS Integer*,* *Seconds* AS Integer*)* AS Date Makes a time from its components. PRINT Time(14, 08, 25) -- 14:08:25 So if you write: PRINT Time(0, 0, 300) It should print 00:05:00

Re: [Gambas-user] Seconds => Time.Format(hh:mm:ss)

2012-01-31 Thread abbat
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 > >> >> How to convert a seconds

Re: [Gambas-user] Seconds => Time.Format(hh:mm:ss)

2012-01-31 Thread Emil Lenngren
You should read the documentation. http://gambasdoc.org/help/lang/time?v3 http://gambasdoc.org/help/cat/time?v3 /Emil 2012/1/31 abbat > > 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://o

[Gambas-user] Seconds => Time.Format(hh:mm:ss)

2012-01-31 Thread abbat
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. -