Search found 46 matches: uchartoval

Return to advanced search

Re: New FTDN June 2020 (FWH 20.06)

... oCol como parámetro y el resultado anula nDataStrAlign. - SqlRdd: Compatibilidad mejorada para barras de desplazamiento vertical. * Corrección: uCharToVal( cDate, "D" ) no siempre devuelve el resultado correcto. La función estática dCharToDate ( cDate ) se revisa para solucionar el ...
by Antonio Linares
Sat Jul 11, 2020 5:26 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN June 2020 (FWH 20.06)
Replies: 1
Views: 1340

New FTDN June 2020 (FWH 20.06)

... is evaluated with oCol as parameter and the result overrides nDataStrAlign - SqlRdd: Enhanced compatibility for Vertical Scrollbars. * Fix: uCharToVal( cDate, "D" ) is not always returning the correct result. static function dCharToDate( cDate ) is revised to fix the issue. http://forums.fivetechsupport.com/viewtopic.php?f=3&t=38907 ...
by Antonio Linares
Thu Jul 09, 2020 9:37 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN June 2020 (FWH 20.06)
Replies: 1
Views: 1340

Re: New FTDN April/Abril 2020 (FWH 20.04)

... Se ha corregido un error en RibbonBar reportado por Silvio. Para más detalles mira en: viewtopic.php?f=3&t=38743&start=0 * Corrección: uCharToVal( cDate, "D" ) en source/function/valtostr.prg: Esta función falla con el nombre de mes si es precedido por un carácter como - o ...
by Antonio Linares
Sun May 10, 2020 1:26 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2020 (FWH 20.04)
Replies: 1
Views: 2196

Re: uCharToVal returns "01/01/2020" as 20/09/0090

Hi Rao,
Yes I got the expected result with the fixed version.

Thank you
by hua
Fri May 08, 2020 10:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: uCharToVal returns "01/01/2020" as 20/09/0090
Replies: 4
Views: 969

Re: uCharToVal returns "01/01/2020" as 20/09/0090

The bug is fixed in version FWH2005 to be released. You can make this correction and test. In the module \fwh\source\function\valtostr.prg: please replace the existing static function dCharToDate( cDate ) with the following revised function: static function dCharToDate( cDate )   l...
by nageswaragunupudi
Fri May 08, 2020 1:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: uCharToVal returns "01/01/2020" as 20/09/0090
Replies: 4
Views: 969

Re: uCharToVal returns "01/01/2020" as 20/09/0090

We will look into the function.
by nageswaragunupudi
Tue May 05, 2020 9:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: uCharToVal returns "01/01/2020" as 20/09/0090
Replies: 4
Views: 969

Re: uCharToVal returns "01/01/2020" as 20/09/0090

? DToS( CToD( "01/01/2020" ) )
by Antonio Linares
Mon May 04, 2020 6:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: uCharToVal returns "01/01/2020" as 20/09/0090
Replies: 4
Views: 969

uCharToVal returns "01/01/2020" as 20/09/0090

Hi Rao,
Is my usage of uCharToVal() wrong?

Code: Select all  Expand view

#include "fivewin.ch"

proc main()
  set century on
  set date british

  ? uCharToVal("01/01/2020", "D")
return
 


The above snippet gave result as 20/09/0090.

Compiled with Harbour+FWH1912

TIA
by hua
Mon May 04, 2020 6:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: uCharToVal returns "01/01/2020" as 20/09/0090
Replies: 4
Views: 969

New FTDN April/Abril 2020 (FWH 20.04)

... as FW_MemoEdit() * Fix: Fixed RibbonBar bug reported by Silvio: http://forums.fivetechsupport.com/viewtopic.php?f=3&t=38743&start=0 * Fix: uCharToVal( cDate, "D" ) in source/function/valtostr.prg: This function is failing with monthname is preceded by a non-space character like ...
by Antonio Linares
Sun May 03, 2020 12:41 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2020 (FWH 20.04)
Replies: 1
Views: 2196

Re: strange error for calculating days

... not is there ... This morning I saw the dateTo is wrong on a my function to update the dates after a modify I have these lines local dStart:= uCharToVal(dDataIniziale, "D" ) local dEnd:= uCharToVal(dDataFinale, "D" ) If I select the from 10 July to 14 July and the dEnd ...
by Silvio.Falconi
Sat Apr 25, 2020 9:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: strange error for calculating days !!Resolved!!
Replies: 3
Views: 643

Re: uCharToVal

yes the problem is solved

i am trying to understand how to insert in my source.

Nice idea to implement date limits in datepick even if I really like your calendar created with xbrowse
by Silvio.Falconi
Wed Apr 08, 2020 2:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: uCharToVal
Replies: 9
Views: 1136

Re: uCharToVal

Now these solutions are good

So is your problem solved now?

For your information, we can set range for normal dtpicker also from the next release. This will be useful to you and many others.
by nageswaragunupudi
Wed Apr 08, 2020 2:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: uCharToVal
Replies: 9
Views: 1136

Re: uCharToVal

Nages Now run ok ... I use it on my application where I have the date as "Merc, 8 Apr 2020" for a sample on gets https://i.postimg.cc/yxGcscyk/dta.png As you can see here I use get and you XbrGetDate func because on dtpicker I cannot set a calendar limit then I have proced...
by Silvio.Falconi
Wed Apr 08, 2020 2:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: uCharToVal
Replies: 9
Views: 1136

Re: uCharToVal

I tried today and it not run ( I tested with FiveWin for Harbour ver. Jannuary 2020) Mr. Silvio You are right. There is a bug. Conversion of text to date is working when and only when the month name is at the beginning of the text or is preceded by a space character but not any character like "...
by nageswaragunupudi
Tue Apr 07, 2020 8:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: uCharToVal
Replies: 9
Views: 1136

Re: uCharToVal

...  SET DATE ITALIAN   SET CENTURY ON   ? cDate := FW_TRANSFORM( --dDate, "ddd, dd mmm yyyy" ),   uCharToVal( cDate, "D" ), ;     cDate := FW_TRANSFORM( --dDate, "dddd, dd mmmm yyyy" ), uCharToVal( ...
by nageswaragunupudi
Tue Apr 07, 2020 8:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: uCharToVal
Replies: 9
Views: 1136
Next

Return to advanced search