[Gambas-user] Format function return Strange time..

Rob sourceforge-raindog2 at ...94...
Thu Feb 5 05:22:27 CET 2004


On Wednesday 04 February 2004 10:37, Dimitri Bellini wrote:
> 	i have this strange problem with "format$" function for
> example: txtData.text=Format$(Now, "dd-mm-yyyy hh:mm")
                                         ^^         ^^

Did you notice that you're using "mm" to mean both the month and 
the minute? :)

http://www.binara.com/gambas-wiki/static/Gambas/GambasFormat.html 
says,

#  "nn" prints the minutes on two digits.

I think this is the same as some dialect of VB.

Rob





More information about the User mailing list