> El 28/06/11 19:05, Benoît Minisini escribió:
> >> Well. what I'm missing here?
> >>
> >> I got the same results with rev.3906:
> >> Print Format$(Now, "hh:nn")
> >> Print Format$(Now, "hh:nn AM/PM")
> >>
> >>
> >> 18:36
> >> 06:36
> >>
> >> Finally, shouldn't the last line show "AM" or
El 28/06/11 19:05, Benoît Minisini escribió:
>>
>> Well. what I'm missing here?
>>
>> I got the same results with rev.3906:
>>
>> Print Format$(Now, "hh:nn")
>> Print Format$(Now, "hh:nn AM/PM")
>>
>> 18:36
>> 06:36
>>
>> Finally, shouldn't the last line show "AM" or "PM" at the end?
>>
>
>
>
> Well. what I'm missing here?
>
> I got the same results with rev.3906:
>
> Print Format$(Now, "hh:nn")
> Print Format$(Now, "hh:nn AM/PM")
>
> 18:36
> 06:36
>
> Finally, shouldn't the last line show "AM" or "PM" at the end?
>
"AM" or "PM" are actually displayed only if your languag
El 26/06/11 23:37, Kevin Fishburne escribió:
> On 06/26/2011 03:09 PM, Benoît Minisini wrote:
I hope I'm really not so stupid that I'm missing something obvious. I'm
not even drinking right now!
>>>
>>> Mmm... You're right, there's something nasty there. I'm currently
>>> investigating...
On 06/26/2011 03:09 PM, Benoît Minisini wrote:
>>> I hope I'm really not so stupid that I'm missing something obvious. I'm
>>> not even drinking right now!
>>
>> Mmm... You're right, there's something nasty there. I'm currently
>> investigating...
>
> The bug should be fixed in revision #3900.
Awe
> > I hope I'm really not so stupid that I'm missing something obvious. I'm
> > not even drinking right now!
>
> Mmm... You're right, there's something nasty there. I'm currently
> investigating...
The bug should be fixed in revision #3900.
Regards,
--
Benoît Minisini
> That makes perfect sense and was the expected behavior. I'm not sure
> what's happening here, but this test code:
>
> Public Sub Main()
>
>Dim t As Float
>
>t = CFloat(Now) ' Current time and date.
>
>Print "1: CDate(t): " & CDate(t)
>Print "2: Format$(
El 26/06/11 05:54, Kevin Fishburne escribió:
> On 06/25/2011 09:41 PM, nando wrote:
>> Yes-Silly me!
>> How about trying the print statements with ; and not&
>> I'm curious how the bug manifests.
>
> It displays the same results:
>
> Public Sub Main()
>
>Dim t As Float
>
>t = CFloat(Now
On 06/25/2011 09:41 PM, nando wrote:
> Yes-Silly me!
> How about trying the print statements with ; and not&
> I'm curious how the bug manifests.
It displays the same results:
Public Sub Main()
Dim t As Float
t = CFloat(Now) ' Current time and date.
Print "1: CDate(t):
Yes-Silly me!
How about trying the print statements with ; and not &
I'm curious how the bug manifests.
-- Original Message ---
From: Kevin Fishburne
To: gambas-user@lists.sourceforge.net
Sent: Sat, 25 Jun 2011 19:19:09 -0400
Subject: Re: [Gambas-user] gb3: Format$
&
On 06/25/2011 07:05 PM, nando wrote:
> 18:35 is 6:35 pm
> just in 24 hour time
>
I understand that. I just don't understand why a completely different
line is affect by the previous line's Format$. If I comment out the
Format$ lines, the same value is printed on the remaining lines.
Uncommentin
18:35 is 6:35 pm
just in 24 hour time
-- Original Message ---
From: Kevin Fishburne
To: gambas-user@lists.sourceforge.net
Sent: Sat, 25 Jun 2011 18:45:16 -0400
Subject: Re: [Gambas-user] gb3: Format$
> On 06/24/2011 06:42 PM, Benoît Minisini wrote:
> >> I
On 06/24/2011 06:42 PM, Benoît Minisini wrote:
>> I'm using this to print a formatted date:
>>
>> Draw.Text("Date and Time: "& CDate(Server.DateCurrent)& " ("&
>> Format$(CDate(Server.DateCurrent), "hh:nn:AM/PM")& ")", 32, ystart - 1)
>>
>> It seems that Format$ actually changes the value of Ser
> I'm using this to print a formatted date:
>
> Draw.Text("Date and Time: " & CDate(Server.DateCurrent) & " (" &
> Format$(CDate(Server.DateCurrent), "hh:nn:AM/PM") & ")", 32, ystart - 1)
>
> It seems that Format$ actually changes the value of Server.DateCurrent,
> making it AM when it should be
14 matches
Mail list logo