Search found 22 matches: nmonth

Return to advanced search

Re: ¿Cómo saber la fecha de los cambios a una carpeta?

Estimado José, Aquí lo tienes. Lo incluimos para el próximo build de FWH: function FW_FolderChanged( cFolderPath ) --> { nDay, nMonth, nYear, nHours, nMinutes, nSeconds } #include "FiveWin.ch"function Main()    XBrowse( FW_FolderChanged( "c:\fwh" ...
by JoseAlvarez
Mon Mar 04, 2024 2:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿Cómo saber la fecha de los cambios a una carpeta?
Replies: 6
Views: 147

Re: ¿Cómo saber la fecha de los cambios a una carpeta?

Estimado José, Aquí lo tienes. Lo incluimos para el próximo build de FWH: function FW_FolderChanged( cFolderPath ) --> { nDay, nMonth, nYear, nHours, nMinutes, nSeconds } #include "FiveWin.ch"function Main()    XBrowse( FW_FolderChanged( "c:\fwh" ...
by JoseAlvarez
Sun Mar 03, 2024 9:09 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿Cómo saber la fecha de los cambios a una carpeta?
Replies: 6
Views: 147

Re: ¿Cómo saber la fecha de los cambios a una carpeta?

Estimado José, Aquí lo tienes. Lo incluimos para el próximo build de FWH: function FW_FolderChanged( cFolderPath ) --> { nDay, nMonth, nYear, nHours, nMinutes, nSeconds } #include "FiveWin.ch"function Main()    XBrowse( FW_FolderChanged( "c:\fwh" ) ...
by Antonio Linares
Sun Mar 03, 2024 8:33 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿Cómo saber la fecha de los cambios a una carpeta?
Replies: 6
Views: 147

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

... SetMouse([<lOnOff>],[<nRow>],[<nCol>])->lIsMouseVisible SetNewDate(<nYear>,<nMonth>,<nDay>)->lSuccess SetNewTime(<nHour>,<nMinute>,<nSecond>)->lSuccess SetPos(<nRow>,<nCol>)->Nil ...
by rubenfernandez01
Sun Oct 22, 2017 4:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5627

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

... SetMouse([<lOnOff>],[<nRow>],[<nCol>])->lIsMouseVisible SetNewDate(<nYear>,<nMonth>,<nDay>)->lSuccess SetNewTime(<nHour>,<nMinute>,<nSecond>)->lSuccess SetPos(<nRow>,<nCol>)->Nil ...
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: 5627

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

... ACos(<nRadians>)->nArcCosine AddASCII(<cString>,<nValue>,[<nPos>])->cNewString AddMonth(<dDate>,<nMonths>)->dNewDate ADel(<aArray>,<nElement>,[<lShrink>])->aTarget ADir([<cFileSpec>],[<aFilenames>],[<aSizes>],[<aDates>],[<aTimes>],[<aAttributes>])->nFiles ...
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: 5627

Re: Dates behave different with Sql systax ?

If the syntax is more comfortable you can use the harbour hb_DateTime() function to create a datetime variable. hb_DateTime( nYear, nMonth, nDay, nHour, nMin, nSec, nMill ) // I believe the last argument is milliseconds. The source file rtl\dateshb.c has a fair number of datetime related ...
by rhlawek
Mon Jan 09, 2017 11:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Dates behave different with Sql systax ?
Replies: 4
Views: 2132

Re: Archivos FTP con Fecha incorrecta en FW

... a fecha 07-01-2013, aca estaria correcto. Excelente la funcion que has desarrollado. por si te fuera de utilidad una funcion DMY2DATE( nYear, nMonth, nDay ) ->dFecha para cualqueira que la desee usar. #pragma BEGINDUMP#include "hbapi.h"#include "hbdate.h"/*funcion que ...
by carlos vargas
Wed Oct 09, 2013 10:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Archivos FTP con Fecha incorrecta en FW
Replies: 5
Views: 1082

Re: Sunday calc

... september there are 30 days with 5 sundays this I need to calculate the work Hour in this month this run ok ( thanks to all ) Function GetSunday( nMonth, nYear ) Local nCont := 0 Local nSunday := 0 Local dInizio := cTod("01/"+StrZero(nMonth,2)+"/"+StrZero(nYear,4)) nSunday:=Sundays(dInizio) ...
by Eoeo
Tue Sep 18, 2012 9:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sunday calc
Replies: 5
Views: 727

Re: Error : Calendar Control

... calls are not in REDEFINE but are in DEFINE oCal:lDayState := .T. oCal:resetDayStates() // This is your function from the sample and checking nMonth I get a 0 OnGetState( oCal, lSunday, lSaturday ) // The following call gets an "hb_xgrab requested to allocate zero bytes. error message. ...
by TimStone
Wed May 19, 2010 6:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error : Calendar Control
Replies: 16
Views: 3277

Error : Calendar Control

... the month being displayed. Looking at the code for OnGetState( oCal, aDates ), however, I think there may be an error: METHOD SetArrayDayState( nMonth, nDay ) is looking for the actual month, but in the function provided, that value is always 1 oCal:SetArrayDayState( 1, Day( aDates[ i ] ) ) ...
by TimStone
Fri May 14, 2010 11:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error : Calendar Control
Replies: 16
Views: 3277

Nueva Clase: TCalendar

... la cantidad maxima de dias posibles en un mes, solo se marcara la posicicion(es) (dias) que deseamos resaltar, se usa el Metodo SetArrayDayState( nMonth, nDay ), es importante decir, el control toma para este caso como primer mes visible 1, indistintamente que mes del año sea, es decir un calendario ...
by Daniel Garcia-Gil
Sun Apr 18, 2010 10:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Nueva Clase: TCalendar
Replies: 6
Views: 3789

Re: ADDING DATA INTO AN ARRAY....[X,Y]

Use a three element array.

aadd( aDatiDisp, nMonth, nDay, if( lOccupated, .T., .F.) )
by James Bott
Sun Feb 21, 2010 4:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADDING DATA INTO AN ARRAY....[X,Y]
Replies: 14
Views: 4165

Otto,

This fix is required for Method MouseMove() as we are repainting the control on each mouse move! We should repaint it only when an initial date has been selected:

if ::lMove .and. nDay > 0 .and. nMonth > 0 // to work with valid dates only
by Antonio Linares
Tue Aug 05, 2008 10:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Pickdate part 2 – a control class in development
Replies: 39
Views: 11462

Pickdate part 2 – a control class in development

... me how to implement redefine and how to use this control from a resource. Please uncomment SET DATE TO GERMAN and use ENGLISH in func RegionDate(nMonth,cYear ). Here is the code: #include "FiveWin.ch" //----------------------------------------------------------------------------// ...
by Otto
Sun Aug 03, 2008 9:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Pickdate part 2 – a control class in development
Replies: 39
Views: 11462
Next

Return to advanced search