Try Dim TimeS As String = Format$(Now, "hh:nn:ss")
Read more at: http://gambasdoc.org/help/lang/userformat?v3 <http://gambasdoc.org/help/lang/userformat?v3>/Emil 2012/8/5 abbat <abbat...@mail.ru> > > > Dim TimeS as String = Hour(Now) & ":" & Minute(Now) & ":" & Second(Now) > > We get a string like "9:8:4" > But it would be better this way: "09:08:04" > > Thanks > -- > View this message in context: > http://old.nabble.com/Time-Format-in-00%3A00%3A00-%28Two-digits%29-tp34257082p34257082.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user