Año(s), mes(es) y dia(s) transcurridos entre dos fechas
Posted: Fri Mar 15, 2013 4:08 am
Hola Amigos:
En esta oportunidad les acerco una función para obtener: año(s), mes(es) y día(s), entre dos fechas
CalculaAMD( <FechaInicial>, <FechaFinal>) ==> cResultado
He buscado por los foros y no encontré algo que funcionara correctamente, por lo tanto decidí hacer mi propia función.
Espero sea de utilidad para quien quiera saber la edad o el tiempo transcurrido entre dos fechas.
El código fuente puede contener errores. Lo he 'testeado' sin novedad, pero ...
Saludos.
Walter.
Google Translation:
Hello Friends:
This time I approached a role for the year (s), month (s) and day (s) between two dates;)
: arrow: CalculaAMD (<FechaInicial>, <FechaFinal>) ==> cResultado
I've searched the forums and did not find anything that would work properly, so I decided to make my own function.
Hope this helps for those who want to know the age or the time between two dates.
The source code may contain errors. I've 'tested' without incident, but ...
Greetings.
Walter.
En esta oportunidad les acerco una función para obtener: año(s), mes(es) y día(s), entre dos fechas
CalculaAMD( <FechaInicial>, <FechaFinal>) ==> cResultado
He buscado por los foros y no encontré algo que funcionara correctamente, por lo tanto decidí hacer mi propia función.
Espero sea de utilidad para quien quiera saber la edad o el tiempo transcurrido entre dos fechas.
El código fuente puede contener errores. Lo he 'testeado' sin novedad, pero ...
Saludos.
Walter.
Google Translation:
Hello Friends:
This time I approached a role for the year (s), month (s) and day (s) between two dates;)
: arrow: CalculaAMD (<FechaInicial>, <FechaFinal>) ==> cResultado
I've searched the forums and did not find anything that would work properly, so I decided to make my own function.
Hope this helps for those who want to know the age or the time between two dates.
The source code may contain errors. I've 'tested' without incident, but ...
Greetings.
Walter.