Search found 297 matches: ctod

Return to advanced search

Clear a get date

... dDataNote  :=date()+2,aGet[1]:refresh())      SEPARATOR      MENUITEM "Pulisci"  ACTION ( dDataNote  :=ctod("  /  /  "),aGet[1]:refresh())      ENDMENU   return oPopupDate  the command MENUITEM "Pulisci" ...
by Silvio.Falconi
Tue Jul 31, 2018 5:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Clear a get date
Replies: 7
Views: 802

Re: Tdolphin

... LenVar( cVar,ctype,nLen ) If cType="C" cVar:=cVar+Space(nlen-Len(cVar)) ElseIf cType="D" If Valtype( cVar)="C" cVar:=ctod("") Endif Endif Return cVar cVar es el campo de la consulta ctype el tipo de dato del campo nLen es el tamaño del campo con esto puedo ...
by CARLOS ATUNCAR
Mon May 14, 2018 2:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tdolphin
Replies: 13
Views: 3161

Re: total days of millennium

hi Mr Rao
thank you, CTOD("") is what I was looking for
bye
by damianodec
Fri Feb 23, 2018 7:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: total days of millennium
Replies: 3
Views: 567

Re: total days of millennium

damianodec wrote:hi to all
is there any function that return total days from years 0 ?

thanks

What date do you mean by "Year 0"?

Date() - CTOD( "" ) --> JulianDay meaning number of days from January 1, 4713 BC
by nageswaragunupudi
Thu Feb 22, 2018 8:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: total days of millennium
Replies: 3
Views: 567

Re: Meses transcurridos FechaInicial y FechaActual

Sorry posting in english...
Mr Rao...

FW_MTHSLAPSED( ctod("01/01/2018"), ctod("31/01/2018") ) gives 0

Thats right?
Regards, Euclides
by Euclides
Mon Dec 18, 2017 1:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Meses transcurridos FechaInicial y FechaActual
Replies: 10
Views: 1247

Re: Error TDolphin

... :=oQryClien:Codigo oQryCob:CodiDeu :=nCSoli oQryCob:CodiGa1 :=nCGa1 oQryCob:CodiGa2 :=nCGa2 oQryCob:Cant_Cuo :=oQryCob:Cuo_Ade oQryCob:Fecha_At :=ctod("10/"+str(vMes,2)+"/"+substr(str(vAno,4),3,2)) oQryCob:FechaCar :=Date() oQryCob:tRemesa :=1 oQryCob:tipo_movi:=1 oQryCob:ulti_movi:=ctod("10/"+str(vMes,2)+"/"+substr(str(vAno,4),3,2)) ...
by caducca
Thu Oct 26, 2017 12:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error TDolphin
Replies: 7
Views: 1915

Re: funciones de FWH y Harbour en un archivo .txt

... CStr(<xValue>)->cString CStrToVal(<cString>,<cValtype>)->xValue CtoBit(<cString>,<cBitPattern>)->nInteger CToD(<cDate>)->dDate CtoDoW(<cDayName>)->nDayOfWeek CtoF(<cFloat>)->nNumber CtoMonth(<cMonthName>)->nMonth CtoN(<cDigits>,[<nBase>],[<lNegative>])->nInteger ...
by carlos vargas
Sat Oct 21, 2017 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5719

Re: funciones de FWH y Harbour en un archivo .txt

... ConvToOemCP Cos CosH Cot CountLeft CountRight CreateObject Crypt CSetAtMuPa CSetCent CSetCurs CSetKey CSetRef CSetSafety CStr CStrToVal CtoBit CToD CtoDoW CtoF CtoMonth CtoN CtoT CurDir CurDrive Date DateTime Day DaysInMonth DaysToMonth DBAppend DBClearFilter DBClearIndex DBClearRelation DBCloseAll ...
by carlos vargas
Sat Oct 21, 2017 8:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5719

Re: understanding OOP returning more than value from a method

... <= day(::dDob) // nAge3 := 0 nAge3 := day(::dDob) - day(date()) endif Thank you Mr. Marc :D oPerson1 :=Tperson():new("Marc Venken",ctod("26/11/1965")) I think that is your DOB, right ? :lol: Best Regards oPerson1 :=Tperson():new("Fafi",ctod("09/05/1967"))
by fafi
Tue Oct 17, 2017 7:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: understanding OOP returning more than value from a method
Replies: 14
Views: 3114

How to validate dates in a corrupted database

... in it's place. The line of code failing: AADD( aPMitems, { oPMtable:PMSCOD, dBaseD, 0, oPmtable:recno() } ) The file is oPMtable. dBaseD is simply CTOD( "01/01/80" ). The problem is not here, but when database.prg skips to the record, apparently it does not like one of the values in the ...
by TimStone
Fri Oct 06, 2017 1:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to validate dates in a corrupted database
Replies: 9
Views: 1386

Re: Ayuda DLL

Antonio buenas noches, ahora son estos: Proyecto: Kept5, Entorno: BorlandDLL: [1]:Harbour.Exe Source\Tseguro.prg /m /n /es2 /ki /iP:\32bits\xharbour\include;P:\32bits\FWH\INCLUDE /i /oObj\Tseguro.c xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406) Copyright 1999-2009, http://www.xharbour.org http:...
by ricardog
Fri Sep 01, 2017 2:16 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6362

Re: Ayuda DLL

Antonio buenos dias, gracias por la ayuda Agrego la VM.LIB (xharbour), y me manda estos errorres :( :( Proyecto: Kept5, Entorno: BorlandDLL: [1]:Harbour.Exe Source\Tseguro.prg /m /n /es2 /ki /iP:\32bits\xharbour\include;P:\32bits\FWH\INCLUDE /i /oObj\Tseguro.c xHarbour Compiler build 1.2.1 (SimpLex)...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6362

Re: CALCULAR MESES ENTRE 2 PERIODOS

algo do tipo:
d1 := ctod("01/01/2016")
d2 := ctod("01/01/2017")
alert((d2-d1)/30)
by Sistem
Thu Aug 03, 2017 3:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CALCULAR MESES ENTRE 2 PERIODOS- SOLUCIONADO
Replies: 10
Views: 1659

Re: Password protected access to menu. Advice ?

... we think we need : data bird as date data tva as char data counter as num in the method new we set the defaults ? :: name:="" :: bird:=ctod("26/11/1985") :: tva:= "blabla" :: counter:= 1 but also from from datasource ? :: bird:= customer->bird :: counter:= customer->number ...
by Marc Venken
Wed May 10, 2017 9:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Password protected access to menu. Advice ?
Replies: 25
Views: 3512

Re: browse with ado and field date

... 12.01 - Jan. 2012 dataor.prg(380) Error E0030 Syntax error: "syntax error at '}'" this is Row 380: oBrw:Dataop:bEditValue := { || CTOD( oRs:Fields( "DATAOP" ):Value } I also tried in this way to understand the problem: oBrw:Daiop:bEditValue := " " it compile ...
by damianodec
Fri Apr 07, 2017 3:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: browse with ado and field date
Replies: 6
Views: 1058
PreviousNext

Return to advanced search

cron