PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 25
→
DICAS 1986 - WINDEV - DATA 25 - DateDifference - DIFERENCA ENTRE DATAS
DICAS 1986 - WINDEV - DATA 25 - DateDifference - DIFERENCA ENTRE DATAS
Started by amarildo, Jan., 14 2019 5:55 PM - 2 replies
Connect yourself…
amarildo
#1
Registered member
535 messages
Popularité : +14 (14 votes)
Posted on January, 14 2019 - 5:55 PM
AULA GRAVADA EM 14 01 2019
DICAS 1986 - WINDEV - DATA 25 - DateDifference - DIFERENCA ENTRE DATAS
NESSA AULA VAMOS VER COMO ACHAR A DIFERENÇA ENTRE DUAS DATAS
IN THIS CLASSROOM WE WILL SEE HOW TO FIND THE DIFFERENCE BETWEEN TWO DATES
DANS CETTE CLASSE, NOUS VOIRONS COMMENT TROUVER LA DIFFÉRENCE ENTRE DEUX DATES
// EXIT FROM EDT_DATA_fINAL
// https://doc.windev.com/en-US/?3027001&name=DateDifference&3027001&name=DateDifference'
// VAMOS CALCULAR A DIFERENCA DAS DATAS
// LET'S CALCULATE THE DIFFERENCE OF DATES
// CALCULONS LA DIFFERENCE DES DATES
E
DT_DIAS_CALCULADO
=
DateDifference
(
E
DT_DATA_INICIAL
,
E
DT_DATA_FINAL
)
skype:amarildo.matos.informatica
email: amarildo.matos@gmail.com
whats: 51984197742
Youtube: Amarildo Matos
CONHECA WINDEV/WEBDEV/MOBILE
http://www.amarildomatos.com.br
http://www.wxinformatica.com.br
www.windev.com
https://doc.windev.com/en-US/…
https://forum.pcsoft.fr/fr-FR/pcsoft.br.windev/page/1.awp
https://www.windev.com/windev/WD-Express.htm
https://www.windev.com/windevmobile/WM-Express.htm
https://groups.google.com/forum/…
http://windevdesenvolvimento.blogspot.com.br/2017/07/menu-blog.html
http://www.amarildomatos.com.br
https://windevdesenvolvimento.blogspot.com/2019/01/dicas-1986-windev-data-25.html
Report
0
0
Valdecy
#2
Posted on March, 26 2020 - 8:39 PM
A função DateDifference me da como retorno a diferença entre as datas em DIAS. Tem alguma forma de trazer no retorno em quantidade de MESES?
Report
0
0
Patrick
#3
Posted on March, 27 2020 - 10:34 PM
Boa noite, Valdecy !
Olha aqui :
https://doc.pcsoft.fr/fr-FR/index.awp?3027034
Com a função "Age" (Idade) vc tem :
/ Quel âge avez-vous ?
dMonAge est une Date
dMonAge = Age("19790201", "20061025")
InfoConstruit("Vous avez : %1 ans %2 mois %3 jours", ...
dMonAge..Année, dMonAge..Mois, dMonAge..Jour)
Se vc recuperar a variável dMonAge..Mois, vc terá o numero de méis !
Até logo.
Report
0
0
→ Go back to WINDEV 25
WINDEV 25
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text