
Quote from joferar333 on April 15, 2024, 3:56 am@luishp
Gente por favor a ver si alguien me puede dar una mano mis conocimientos no me dan para poder resolver esto...
necesito poder ingresar en una variable una fecha de inicio y a partir de esa fecha calcular una x cantidad de dias
excluyendo los dias domingos y tener por resultado la fecha de finalizacion.Algun iluminado?
Agradezco infinitamente de corazon.
@vadim
People, please see if someone can give me a hand, my knowledge is not enough to be able to solve this...
I need to be able to enter a start date into a variable and from that date calculate an x number of days
excluding Sundays and resulting in the end date.Anyone enlightened?
I thank you infinitely from the bottom of my heart.
Gente por favor a ver si alguien me puede dar una mano mis conocimientos no me dan para poder resolver esto...
necesito poder ingresar en una variable una fecha de inicio y a partir de esa fecha calcular una x cantidad de dias
excluyendo los dias domingos y tener por resultado la fecha de finalizacion.
Algun iluminado?
Agradezco infinitamente de corazon.
People, please see if someone can give me a hand, my knowledge is not enough to be able to solve this...
I need to be able to enter a start date into a variable and from that date calculate an x number of days
excluding Sundays and resulting in the end date.
Anyone enlightened?
I thank you infinitely from the bottom of my heart.
Quote from Gaev on April 15, 2024, 9:01 pm@joferar333
take a look at the uploaded pub; note that ...
- the Text Entry boxes do minimal validation (just that everything is numeric)
- you may have to change the value of the variable [SundayText] if your windows is configured for a non-English setting
- all the comments beginning with ...SetVar "log" are just to assist in testing; uncomment them if you need to debugg any part of the logic
take a look at the uploaded pub; note that ...
- the Text Entry boxes do minimal validation (just that everything is numeric)
- you may have to change the value of the variable [SundayText] if your windows is configured for a non-English setting
- all the comments beginning with ...SetVar "log" are just to assist in testing; uncomment them if you need to debugg any part of the logic

Quote from joferar333 on April 16, 2024, 3:09 am@gaev
Thanks for your help.
Bad i need result diferent....
see this picture
If possible?
Thank again.
Thanks for your help.
Bad i need result diferent....
see this picture

If possible?
Thank again.
Quote from Gaev on April 16, 2024, 2:19 pm@joferar333
I need to be able to enter a start date into a variable and from that date calculate an x number of days
In your response you state that you need the input/output dates in format [dateshort] ... I am not sure what you mean by that ... VisualNEOWin has a Global Variable called [DateShort] (in english), but it is only for reading today's date.
As date formats can differ from country to country, please provide examples of your format for input of dates (including how single digit months and days are entered) ... and the desired output (result) if different from input format.
I need to be able to enter a start date into a variable and from that date calculate an x number of days
In your response you state that you need the input/output dates in format [dateshort] ... I am not sure what you mean by that ... VisualNEOWin has a Global Variable called [DateShort] (in english), but it is only for reading today's date.
As date formats can differ from country to country, please provide examples of your format for input of dates (including how single digit months and days are entered) ... and the desired output (result) if different from input format.

Quote from DaviddeArgentina on April 16, 2024, 2:23 pmNeoDates plugin does the job
https://aplicaciones.xp3.biz/neobook/misc.html
NeoDates plugin does the job
https://aplicaciones.xp3.biz/neobook/misc.html

Quote from Roxana6218 on April 16, 2024, 3:37 pm@gaev
Please see this pub...
Please see this pub...
Uploaded files:

Quote from Roxana6218 on April 16, 2024, 3:39 pm@daviddeargentina
Gracias por tu respuesta pero la verdad las fotos que veo no me dicen nada, realmente no se cual es la funcion del plugin en realidad y si se ajusta a lo que necesito hacer...
Por favor si me respondes hazlo en español me cuenta el ingles
Gracias por tu respuesta pero la verdad las fotos que veo no me dicen nada, realmente no se cual es la funcion del plugin en realidad y si se ajusta a lo que necesito hacer...
Por favor si me respondes hazlo en español me cuenta el ingles

Quote from DaviddeArgentina on April 16, 2024, 6:32 pmHola @roxana6218
El plugin NeoDates hace varias cosas, a saber:
la función ae_Dates_DateADD permite agregar (o restar) días a una fecha dada. El resultado es una fecha
la función ae_Dates_DateDIFF permite restar dos fechas y obtener la cantidad de días entre la primera y la segunda. El resultado es un número
la función ae_Dates_GetDates permite obtener las siguientes fechas de un archivo dado que son: (devuelve fechas)
- Fecha de creación
- Fecha de última edición
- Fecha de último acceso
la función ae_Dates_SetDate permite modificar la fecha del sistema
la función ae_Dates_GetNISTDate permite obtener la fecha y hora real que se obtiente desde el sitio nist.gov. El resultado es una fecha mas compleja, que puede ser particionada con StrParse. Hay mucha información acerca de los valores adicionales que devuelve la función. Es facil de googlear.
Esto es especialmente util para evitar que te intenten adulterar la fecha de la computadora, en especial cuando tienes programas que tienen fecha de vencimiento.
Esto resuelve definitivamente el problema, porque no pueden evitar que te alteren la fecha y hora que viene dado de un organismo oficial de Estados Unidos.
dejo adjunto un archivo zip que contiene el plugin .nbp, además de un ejemplo de uso de todas las funciones en .pubEl plugin es shareware.Saludos desde Buenos Aires
Hola @roxana6218
El plugin NeoDates hace varias cosas, a saber:
la función ae_Dates_DateADD permite agregar (o restar) días a una fecha dada. El resultado es una fecha
la función ae_Dates_DateDIFF permite restar dos fechas y obtener la cantidad de días entre la primera y la segunda. El resultado es un número
la función ae_Dates_GetDates permite obtener las siguientes fechas de un archivo dado que son: (devuelve fechas)
la función ae_Dates_SetDate permite modificar la fecha del sistema
la función ae_Dates_GetNISTDate permite obtener la fecha y hora real que se obtiente desde el sitio nist.gov. El resultado es una fecha mas compleja, que puede ser particionada con StrParse. Hay mucha información acerca de los valores adicionales que devuelve la función. Es facil de googlear.
Esto es especialmente util para evitar que te intenten adulterar la fecha de la computadora, en especial cuando tienes programas que tienen fecha de vencimiento.
Esto resuelve definitivamente el problema, porque no pueden evitar que te alteren la fecha y hora que viene dado de un organismo oficial de Estados Unidos.
Quote from Gaev on April 16, 2024, 6:33 pm@joferar333
I have modified my pub (new first page; old page is now second page) to reflect what you indicated in your pub to me.
Note that ...
a) when I use [DateShort] on my machine, it displays as 2024-04-16; you may see a different format depending on how your windows is configured. In any case, the numeric value of this date should be the same (i.e. 45398); I have displayed it for your debugging.
b) the same holds for the format of the end date
c) I am not sure what d/mm/yyy is (did you mean yy or yyyy) ?
If you are not seeing the dates in the desired format, let me know if you want to see them in dd/mm/yy or dd/mm/yyyy format.
BTW, who is @roxana6218 ?
I have modified my pub (new first page; old page is now second page) to reflect what you indicated in your pub to me.
Note that ...
a) when I use [DateShort] on my machine, it displays as 2024-04-16; you may see a different format depending on how your windows is configured. In any case, the numeric value of this date should be the same (i.e. 45398); I have displayed it for your debugging.
b) the same holds for the format of the end date
c) I am not sure what d/mm/yyy is (did you mean yy or yyyy) ?
If you are not seeing the dates in the desired format, let me know if you want to see them in dd/mm/yy or dd/mm/yyyy format.
BTW, who is @roxana6218 ?
Uploaded files:
Quote from Roxana6218 on April 16, 2024, 6:45 pm@gaev
THANKS!!!! found Ok and is just i need to my proyect
Best Regard MASTER!!!!
@gaev
THANKS!!!! found Ok and is just i need to my proyect
Best Regard MASTER!!!!

Quote from Roxana6218 on April 16, 2024, 6:47 pm@daviddeargentina Una vez mas agradecida por tu tiempo y tu respuesta.
Ya he solucionado el problema me han enviado un pub exactamente con lo que yo necesitaba.Igual estube leyendo pero el plug que me comentas no hacia lo que yo buscaba, que era ingresar una fecha de inicio...
luego ingresar una cantidad de dias para que incremente la fecha pero excluyendo los dias domingos y me diera la fecha final incrementada...Ya lo tengo Mil gracias
Saludos
@daviddeargentina Una vez mas agradecida por tu tiempo y tu respuesta.
Ya he solucionado el problema me han enviado un pub exactamente con lo que yo necesitaba.
Igual estube leyendo pero el plug que me comentas no hacia lo que yo buscaba, que era ingresar una fecha de inicio...
luego ingresar una cantidad de dias para que incremente la fecha pero excluyendo los dias domingos y me diera la fecha final incrementada...
Ya lo tengo Mil gracias
Saludos