Le Mon, 10 Aug 2015 13:41:17 +0200, Jussi Lahtinen
jussi.lahti...@gmail.com a écrit:
Sorry to say, but this doesn't seem to be fixed.
? DateDiff(Now, DateAdd(Now, gb.Day, 2), gb.Day)
1
Jussi
On Sat, Aug 1, 2015 at 7:16 PM, Benoît Minisini
gam...@users.sourceforge.net wrote:
Le
I think this fixes the problem (in gbx_date.c):
int DATE_diff(VALUE *date1, VALUE *date2, int period)
{
int64_t diff = 0;
int sdiff, tmpdiff;
DATE_SERIAL ds1 = {0};
DATE_SERIAL ds2 = {0};
bool neg;
switch (period)
{
case DP_DAY:
case DP_WEEK:
On Thu, 13 Aug 2015 16:22:13 +0200
Adrien Prokopowicz adrien.prokopow...@gmail.com wrote:
Le Mon, 10 Aug 2015 13:41:17 +0200, Jussi Lahtinen
jussi.lahti...@gmail.com a écrit:
Sorry to say, but this doesn't seem to be fixed.
? DateDiff(Now, DateAdd(Now, gb.Day, 2), gb.Day)
1
Sorry to say, but this doesn't seem to be fixed.
? DateDiff(Now, DateAdd(Now, gb.Day, 2), gb.Day)
1
Jussi
On Sat, Aug 1, 2015 at 7:16 PM, Benoît Minisini
gam...@users.sourceforge.net wrote:
Le 01/08/2015 17:52, Benoît Minisini a écrit :
Le 01/08/2015 17:33, nando a écrit :
Here's an
Hi Benoit,
I also found a bug with ToolBox, and sent the project to your gmail address
... Maybe it is something you can fix (hoping :-)).
Regards,
Alex
2015-08-01 18:16 GMT+02:00 Benoît Minisini gam...@users.sourceforge.net:
Le 01/08/2015 17:52, Benoît Minisini a écrit :
Le 01/08/2015
Here's an example.
Dim FirstDate as Date
FirstDate = Date(2015, 1, 1, 0, 0, 0, 0)
Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 00), gb.day) 'ok
Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 01), gb.day) 'ok
Print DateDiff(firstdate, Date(2015, 8, 1, 03, 59, 59), gb.day)
Le 01/08/2015 17:33, nando a écrit :
Here's an example.
Dim FirstDate as Date
FirstDate = Date(2015, 1, 1, 0, 0, 0, 0)
Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 00), gb.day) 'ok
Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 01), gb.day) 'ok
Print
Le 01/08/2015 17:52, Benoît Minisini a écrit :
Le 01/08/2015 17:33, nando a écrit :
Here's an example.
Dim FirstDate as Date
FirstDate = Date(2015, 1, 1, 0, 0, 0, 0)
Print DateDiff(firstdate, Date(2015, 8, 1, 00, 00, 00), gb.day) 'ok
Print DateDiff(firstdate, Date(2015, 8, 1,