Le 14/05/2012 12:00, Christer Johansson a écrit :
>
> Noted some issues last night...
>
> First one is with Date(now). If assigned to a variable (or printed) it
> adds placeholders for time as zeroes like...
>
>    05/14/2012 00:00:00
>

As for that, this is a bug fix. A date is a Date value with the time set 
to zero. The default date to string conversion now do not strip the time 
anymore if it is zero.

If you need to print the date only, you have to use the Format$() function.

Note that there is no predefined format for just printing the date part 
with Format$(). This is a bug that I should fix.

Regards,

-- 
Benoît Minisini

------------------------------------------------------------------------------
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

Reply via email to