<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12px"><div id="yui_3_16_0_ym19_1_1490294078966_2886"><span></span></div><div id="yui_3_16_0_ym19_1_1490294078966_2886"><span id="yui_3_16_0_ym19_1_1490294078966_3108">Pessoal, </span></div><div id="yui_3_16_0_ym19_1_1490294078966_2886"><span><br></span></div><pre style="line-height: 11.25pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; word-break: break-all;" id="yui_3_16_0_ym19_1_1490294078966_3039"><span style="font-family: "Lucida Console";" id="yui_3_16_0_ym19_1_1490294078966_3040">Preciso de uma ajuda em um calculo entre 02 datas. Preciso que o resultado seja numero inteiro que nesse caso é 38 anos.<o:p id="yui_3_16_0_ym19_1_1490294078966_3041"></o:p></span></pre><pre style="line-height: 11.25pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; word-break: break-all;" id="yui_3_16_0_ym19_1_1490294078966_3042"><span id="yui_3_16_0_ym19_1_1490294078966_3043"><span style="font-family:"Lucida Console";color:blue" id="yui_3_16_0_ym19_1_1490294078966_3044"><o:p id="yui_3_16_0_ym19_1_1490294078966_3045"> </o:p></span></span></pre><pre style="line-height: 11.25pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; word-break: break-all;" id="yui_3_16_0_ym19_1_1490294078966_3050"><span id="yui_3_16_0_ym19_1_1490294078966_3051"><span style="font-family:"Lucida Console";color:blue" id="yui_3_16_0_ym19_1_1490294078966_3052">> </span></span><span id="yui_3_16_0_ym19_1_1490294078966_3053"><span style="font-family:"Lucida Console";color:blue" id="yui_3_16_0_ym19_1_1490294078966_3054">data_nascimento <- as.Date("1978-06-14")<o:p id="yui_3_16_0_ym19_1_1490294078966_3055"></o:p></span></span></pre><pre style="line-height: 11.25pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; word-break: break-all;" id="yui_3_16_0_ym19_1_1490294078966_3056"><span id="yui_3_16_0_ym19_1_1490294078966_3057"><span style="font-family:"Lucida Console";color:blue" id="yui_3_16_0_ym19_1_1490294078966_3058"><span style="-webkit-user-select: text" id="yui_3_16_0_ym19_1_1490294078966_3059">> </span></span></span><span id="yui_3_16_0_ym19_1_1490294078966_3060"><span style="font-family:"Lucida Console";color:blue" id="yui_3_16_0_ym19_1_1490294078966_3061">data_nascimento<o:p id="yui_3_16_0_ym19_1_1490294078966_3062"></o:p></span></span></pre><pre style="line-height: 11.25pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; word-break: break-all;" id="yui_3_16_0_ym19_1_1490294078966_3063"><span style="font-family: "Lucida Console";" id="yui_3_16_0_ym19_1_1490294078966_3064">[1] "1978-06-14"<o:p id="yui_3_16_0_ym19_1_1490294078966_3065"></o:p></span></pre><pre style="line-height: 11.25pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; word-break: break-all;" id="yui_3_16_0_ym19_1_1490294078966_3066"><span id="yui_3_16_0_ym19_1_1490294078966_3067"><span style="font-family:"Lucida Console";color:blue" id="yui_3_16_0_ym19_1_1490294078966_3068"><span style="-webkit-user-select: text" id="yui_3_16_0_ym19_1_1490294078966_3069">> </span></span></span><span id="yui_3_16_0_ym19_1_1490294078966_3070"><span style="font-family:"Lucida Console";color:blue" id="yui_3_16_0_ym19_1_1490294078966_3071">data_hoje <-as.Date("2017-03-23")<o:p id="yui_3_16_0_ym19_1_1490294078966_3072"></o:p></span></span></pre><pre style="line-height: 11.25pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; word-break: break-all;" id="yui_3_16_0_ym19_1_1490294078966_3073"><span id="yui_3_16_0_ym19_1_1490294078966_3074"><span style="font-family:"Lucida Console";color:blue" id="yui_3_16_0_ym19_1_1490294078966_3075"><span style="-webkit-user-select: text" id="yui_3_16_0_ym19_1_1490294078966_3076">> </span></span></span><span id="yui_3_16_0_ym19_1_1490294078966_3077"><span style="font-family:"Lucida Console";color:blue" id="yui_3_16_0_ym19_1_1490294078966_3078">data_hoje<o:p id="yui_3_16_0_ym19_1_1490294078966_3079"></o:p></span></span></pre><pre style="line-height: 11.25pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; word-break: break-all;" id="yui_3_16_0_ym19_1_1490294078966_3080"><span style="font-family: "Lucida Console";" id="yui_3_16_0_ym19_1_1490294078966_3081">[1] "2017-03-23"<o:p id="yui_3_16_0_ym19_1_1490294078966_3082"></o:p></span></pre><pre style="line-height: 11.25pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; word-break: break-all;" id="yui_3_16_0_ym19_1_1490294078966_3083"><span id="yui_3_16_0_ym19_1_1490294078966_3084"><span style="font-family:"Lucida Console";color:blue" id="yui_3_16_0_ym19_1_1490294078966_3085"><o:p id="yui_3_16_0_ym19_1_1490294078966_3086"> </o:p></span></span><span style="-webkit-user-select: text" id="yui_3_16_0_ym19_1_1490294078966_3087"></span></pre><pre style="line-height: 11.25pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; word-break: break-all;" id="yui_3_16_0_ym19_1_1490294078966_3088"><span style="font-family: "Lucida Console";" id="yui_3_16_0_ym19_1_1490294078966_3089"><o:p id="yui_3_16_0_ym19_1_1490294078966_3090"> </o:p></span></pre><pre style="line-height: 11.25pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; word-break: break-all;" id="yui_3_16_0_ym19_1_1490294078966_3091"><span id="yui_3_16_0_ym19_1_1490294078966_3092"><span style="font-family:"Lucida Console";color:blue" id="yui_3_16_0_ym19_1_1490294078966_3093"><span style="-webkit-user-select: text" id="yui_3_16_0_ym19_1_1490294078966_3094">> </span></span></span><span id="yui_3_16_0_ym19_1_1490294078966_3095"><span style="font-family:"Lucida Console";color:blue" id="yui_3_16_0_ym19_1_1490294078966_3096">idade <-difftime(data_hoje, data_nascimento)/365<o:p id="yui_3_16_0_ym19_1_1490294078966_3097"></o:p></span></span></pre><pre style="line-height: 11.25pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; word-break: break-all;" id="yui_3_16_0_ym19_1_1490294078966_3098"><span id="yui_3_16_0_ym19_1_1490294078966_3099"><span style="font-family:"Lucida Console";color:blue" id="yui_3_16_0_ym19_1_1490294078966_3100"><span style="-webkit-user-select: text" id="yui_3_16_0_ym19_1_1490294078966_3101">> </span></span></span><span id="yui_3_16_0_ym19_1_1490294078966_3102"><span style="font-family:"Lucida Console";color:blue" id="yui_3_16_0_ym19_1_1490294078966_3103">idade<o:p id="yui_3_16_0_ym19_1_1490294078966_3104"></o:p></span></span></pre><pre style="line-height: 11.25pt; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; word-break: break-all;" id="yui_3_16_0_ym19_1_1490294078966_3105"><span style="font-family: "Lucida Console";" id="yui_3_16_0_ym19_1_1490294078966_3106">Time difference of 38.8 days<o:p id="yui_3_16_0_ym19_1_1490294078966_3107"></o:p></span></pre><div></div><div id="yui_3_16_0_ym19_1_1490294078966_3127"> </div><div class="signature" id="yui_3_16_0_ym19_1_1490294078966_3129"><div id="yui_3_16_0_ym19_1_1490294078966_3128"><font color="#0000ff">Edmar</font></div></div></div></body></html>