Le 16/01/2017 à 01:20, מיוסט שרון a écrit :
>>> hello
>>>
>>> I have WebForm1
>>> I put on the WebForm1 two controls of WebButton1 WebButton2
>>> I have a variable of type String named my_A
>>> I would like when I press the WebButton1 the my_A = "sharon" and when I
>>> click on
>>> WebButton2 I
> > hello
> >
> > I have WebForm1
> > I put on the WebForm1 two controls of WebButton1 WebButton2
> > I have a variable of type String named my_A
> > I would like when I press the WebButton1 the my_A = "sharon" and when I
> > click on
> > WebButton2 I want to get the value found in my_A
> >
> >
>
> Internal date are always stored in GMT. The confusion comes when you
> transform them into a string or from a string.
>
This is exactly what I meant.
I think it should be more clear in the documentation that output of CDate()
is in GMT (same as UTC?) and input is assumed to be local date,
Le 15/01/2017 à 18:31, מיוסט שרון a écrit :
> hello
>
> I have WebForm1
> I put on the WebForm1 two controls of WebButton1 WebButton2
> I have a variable of type String named my_A
> I would like when I press the WebButton1 the my_A = "sharon" and when I click
> on
> WebButton2 I want to get the
Le 15/01/2017 à 16:58, Jussi Lahtinen a écrit :
> Benoit is it possible add this timezone conversion suggestion to CDate()?
>
> Date = CDate ( Expression AS Variant [, InputTimeZone AS Integer,
> OutputTimeZone AS Integer ] ) AS Date
>
> This way you could tell CDate what is the timezone you are
hello
I have WebForm1
I put on the WebForm1 two controls of WebButton1 WebButton2
I have a variable of type String named my_A
I would like when I press the WebButton1 the my_A = "sharon" and when I click on
WebButton2 I want to get the value found in my_A
The problem that when I click on
http://gambaswiki.org/bugtracker/edit?object=BUG.1068=L21haW4-
Gianluigi GRADASCHI changed the state of the bug to: Opened.
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi
http://gambaswiki.org/bugtracker/edit?object=BUG.1068=L21haW4-
Gianluigi GRADASCHI changed the state of the bug to: Rejected.
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi
http://gambaswiki.org/bugtracker/edit?object=BUG.1068=L21haW4-
Gianluigi GRADASCHI changed the state of the bug to: Rejected.
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi
OK if in Trunk I write:
Public Sub Main()
Print CDate(Val("1/1/2017")) ' > 01/01/2017 00:00:00
End
Sorry but I do not know, because the rev.7983 is earlier the 3.9.2.
Regards
Gianluigi
2017-01-15 16:41 GMT+01:00 Jussi Lahtinen :
> Sorry, the date bug was fixed
Benoit is it possible add this timezone conversion suggestion to CDate()?
Date = CDate ( Expression AS Variant [, InputTimeZone AS Integer,
OutputTimeZone AS Integer ] ) AS Date
This way you could tell CDate what is the timezone you are using and in
what timezone you need the answer. I think it
Sorry, the date bug was fixed in revision 7983. So 3.9.2 still has the bug.
If your string is in local time, then convert it to date using val().
CDate() assumes UTF and your timezone is UTF+1, thus you see the difference.
Jussi
On Sun, Jan 15, 2017 at 4:41 PM, Gianluigi
I forgotten: Yes with exactli same program:
Public Sub Main()
Print CDate("1/1/2017")
End
2017-01-15 14:52 GMT+01:00 Gianluigi :
> No Jussi seems all the same.
>
> My computer:
>
> LANG=it_IT.UTF-8
> LANGUAGE=it
> LC_CTYPE="it_IT.UTF-8"
> LC_NUMERIC="it_IT.UTF-8"
>
http://gambaswiki.org/bugtracker/edit?object=BUG.1069=L21haW4-
vuott VUOTT reported a new bug.
Summary
---
Error by clicking on minus sign at the left of a routine
Type : Bug
Priority : Medium
Gambas version : 3.9.90 (TRUNK)
Product : Unknown
Description
No Jussi seems all the same.
My computer:
LANG=it_IT.UTF-8
LANGUAGE=it
LC_CTYPE="it_IT.UTF-8"
LC_NUMERIC="it_IT.UTF-8"
LC_TIME="it_IT.UTF-8"
LC_COLLATE="it_IT.UTF-8"
LC_MONETARY="it_IT.UTF-8"
LC_MESSAGES="it_IT.UTF-8"
LC_PAPER="it_IT.UTF-8"
LC_NAME="it_IT.UTF-8"
LC_ADDRESS="it_IT.UTF-8"
15 matches
Mail list logo