Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Calcula idade com base na data de nascimento
EvaldoMaciel
Feb 3rd, 2022
1,384
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Java
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
function
long
calculaIdade
(
date dataNasc
)
{
date hoje
=
today
(
)
;
date nascimento
=
dataNasc
;
long
idade
=
dateDiff
(
hoje, nascimento, year
)
;
// return idade;
return
idade
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Make $3500 INSTANTLY [Works Worldwide]???? HL
Java | 27 sec ago | 0.06 KB
Make $3500 INSTANTLY [Works Worldwide]???? HL
Java | 1 min ago | 0.06 KB
Make $3500 INSTANTLY [Works Worldwide]???? HL
Java | 1 min ago | 0.06 KB
Hadez Method LeakedC
Java | 2 min ago | 0.06 KB
FREE 500$ GIFTCARDS???? VF
Java | 3 min ago | 0.07 KB
$200 INSTANTLY [Works Worldwide]? SD
Java | 3 min ago | 0.07 KB
Make $200 in 15 minutes M
JavaScript | 4 min ago | 0.06 KB
Hadez Method LeakedC
Java | 4 min ago | 0.07 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!