从当前日期计算年龄 [英] calculating the age from current date

查看:194
本文介绍了从当前日期计算年龄的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hai先生,

i分配来计算当前日期的年龄,我有员工的出生日期,我必须动态计算年龄,

i refer google让我很困惑。请给我一些想法先生

Hai sir,
i assigned to calculate the age from current date ,i have the date of birth of employee from that i have to calculate the age dynamically,
i refer to google it was confusing me .please give some idea to do sir

推荐答案


Hai先生,

i分配来计算当前日期的年龄,我有员工的出生日期,我必须动态计算年龄,

i参考谷歌这让我感到困惑。请给一些想做先生
Hai sir,
i assigned to calculate the age from current date ,i have the date of birth of employee from that i have to calculate the age dynamically,
i refer to google it was confusing me .please give some idea to do sir



那么问题是什么?

你觉得难以计算吗?或编写代码?

首先学习计算。

告诉我们如果你的数学课上有问题,你会如何计算?发布公式。

so what is the problem?
are you finding it difficult to calculate? or to write the code?
first learn the calculation.
tell us how would you calculate if the question was there in your mathematics class? post the formula.



Hai先生,

i分配来计算当前日期的年龄,我有员工的出生日期我必须动态计算年龄,

i指谷歌让我感到困惑。请给出一些想法做先生
Hai sir,
i assigned to calculate the age from current date ,i have the date of birth of employee from that i have to calculate the age dynamically,
i refer to google it was confusing me .please give some idea to do sir



查看 java.util.GregorianCalendar ,尝试一些代码,如果还有问题再次发帖。

Have a look at java.util.GregorianCalendar, try some code, and post again if you still have problems.



看看 java.util.GregorianCalendar ,尝试一些代码,如果仍有问题再次发布。
Have a look at java.util.GregorianCalendar, try some code, and post again if you still have problems.



ok先生我会尝试做那个

ok sir i will try tot do that


这篇关于从当前日期计算年龄的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆