我们只要知道身份证的生成规则就可以了,像下面我们从指定位置到多少位就是出日期了,然后我们把日期转成时间戳然后进行加减运算就得出了年龄了,下面我们看实例代码如下:
- <?php
- function getAgeByID($id){
- //过了这年的生日才算多了1周岁
- if(emptyempty($id)) return '';
- $date=strtotime(substr($id,6,8));
- //获得出生年月日的时间戳
- $today=strtotime('today');
- //获得今日的时间戳
- $diff=floor(($today–$date)/86400/365);
- //得到两个日期相差的大体年数
- //strtotime加上这个年数后得到那日的时间戳后与今日的时间戳相比
- $age=strtotime(substr($id,6,8).' +'.$diff.'years')>$today?($diff+1):$diff;
- return $age;
- }
- ?>
波比源码 – 精品源码模版分享 | www.bobi11.com
1. 本站所有资源来源于用户上传和网络,如有侵权请邮件联系站长!
2. 分享目的仅供大家学习和交流,您必须在下载后24小时内删除!
3. 不得使用于非法商业用途,不得违反国家法律。否则后果自负!
4. 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解!
5. 如有链接无法下载、失效或广告,请联系管理员处理!
6. 本站资源售价只是赞助,收取费用仅维持本站的日常运营所需!
7. 本站源码并不保证全部能正常使用,仅供有技术基础的人学习研究,请谨慎下载
8. 如遇到加密压缩包,请使用WINRAR解压,如遇到无法解压的请联系管理员!
波比源码 » php根据身份证号码计算年龄
波比源码 » php根据身份证号码计算年龄
cost levofloxacin 500mg purchase levaquin for sale
tadalafil 5mg sale Pfizer viagra 50mg sildenafil pills
buy isotretinoin 20mg pills order amoxicillin 500mg without prescription ivermectin 3mg over the counter
buy buspar online oxybutynin 5mg tablet oxybutynin 2.5mg pill
tacrolimus 1mg usa urso generic urso 300mg drug
salbutamol 100mcg us over the counter viagra sildenafil us
tadalafil 20mg ca buy cialis 5mg sale clomipramine 50mg pill
oral sporanox order tinidazole sale tinidazole without prescription
amlodipine 5mg uk buy tadalafil 40mg online buy cialis pill
levitra tablet order levitra 10mg without prescription methylprednisolone 8mg otc
term paper service sildenafil 50mg canada sildenafil citrate
purchase dapoxetine pills priligy generic buy synthroid 100mcg generic
order methotrexate 10mg generic methotrexate oral order reglan online cheap
tadalafil 40mg tablet tadalafil online buy cheap sildenafil generic
trazodone 100mg drug suhagra usa order sildenafil 50mg online cheap
buy deltasone 10mg online cheap generic accutane 10mg brand amoxicillin
order lasix 100mg online cheap brand doxycycline hydroxychloroquine 400mg usa
prednisone 10mg brand deltasone 20mg pill buy generic vermox
order singulair without prescription order viagra pill usa viagra overnight
buy generic tadalafil 10mg cheap cialis without prescription real cialis fast shipping
poker online free casino online games online casino gambling
nifedipine 30mg sale buy fexofenadine 180mg generic allegra sale
slot machines canada discount drugs online do my research paper
write papers for me arava 20mg price azulfidine 500 mg pill
order doxycycline pills purchase cleocin generic order cleocin 150mg pills
asacol cost order astelin sprayers irbesartan 300mg oral
purchase temovate online order amiodarone 100mg pills order cordarone pill
order lanoxin 250mg pills digoxin 250 mg drug order molnupiravir 200mg
order coreg 6.25mg generic elavil 10mg uk generic amitriptyline
order alendronate 70mg for sale furadantin 100 mg canada purchase motrin generic
order pepcid generic tacrolimus 5mg brand remeron 15mg tablet
tricor online order tricor generic viagra pills 50mg
cialis 40mg usa buy erectile dysfunction drugs over the counter best over the counter ed pills
metformin 500mg tablet buy nolvadex online order nolvadex 20mg generic
purchase clomiphene without prescription order atorvastatin 20mg online prednisolone 20mg drug
buy prednisone 20mg without prescription generic prednisone order amoxil 1000mg pills
buy isotretinoin pill ampicillin 250mg ca ampicillin 500mg for sale
ivermectin 12mg online stromectol 3mg pill order prednisone 40mg generic
buy zofran online buy amoxil 1000mg for sale bactrim pills
isotretinoin 40mg oral buy generic absorica order azithromycin generic
cost modafinil 100mg buy lisinopril buy metoprolol sale
order prednisolone 40mg online cheap order prednisolone 20mg sale buy furosemide 100mg online cheap
college essay writer essay on social service essay writing website
monodox ca purchase monodox online order zovirax for sale
frontier thesis thesis theme wordpress proquest thesis
example of introductory paragraph with thesis statement writing a graduate thesis how to start a thesis statement example
writing thesis frederick jackson turner’s frontier thesis what are the parts of a thesis statement
how to write a thesis for a literary analysis thesis help turner thesis apush
order zocor sale purchase promethazine online sildenafil overnight delivery
buy avlosulfon 100mg online asacol 400mg pill order atenolol 50mg pill
alfuzosin 10 mg us desyrel cost order diltiazem 180mg
zetia online ezetimibe price order methotrexate 5mg generic
buy coumadin 2mg online purchase metoclopramide online order allopurinol
zyrtec 5mg usa sertraline oral sertraline brand
is tadalafil better than sildenafil dapoxetine 60 mg + sildenafil 100mg best way to take sildenafil
hi school pharmacy humana specialty pharmacy smiths pharmacy hours
femara 2.5 mg over the counter order viagra buy viagra 100mg for sale
tadalafil oral jelly tadalafil best time to take how long before sex should i take tadalafil
tadalafil alternatives tadalafil 20 mg taking tadalafil and sildenafil together
cialis pills 40mg cialis cheap price buy ed pills canada
tadalafil sublingual tablets https://tadafilax.com/ tadalafil and heartburn
does cialis lower blood pressure https://crocilismen.com/ cialis india
buy viagra 100mg https://foxviagrixed.com/ buy viagra online from canada
ivermectin 12mg for sale buy generic stromectol 12mg buy accutane pills
modafinil pills prednisone online buy prednisone 5mg cost
best buy viagra online https://leepvigras.com/ online prescription viagra
generic viagra singapore https://ethvigrix.com/ how to buy viagra online in usa
accutane 40mg pill buy zithromax pill buy zithromax 250mg online cheap
viagra 100 pill https://ac3vigra.com/ buy generic viagra online with mastercard
maximum dose of tadalafil https://uhdcilise.com/ cheap t jet 60 cialis online
blue sky tadalafil reviews https://hoscillia.com/ cialis memes
effects of cialis https://wwcillisa.com/ amino tadalafil
purchase serophene online buy clomiphene 50mg generic order hydroxychloroquine without prescription
where can i buy viagra online in canada https://vivigrix.com/ buy generic viagra uk
order doxycycline sale buy generic augmentin over the counter order augmentin 625mg pills
buy synthroid without prescription order vardenafil 20mg pill levitra 10mg generic
cost biltricide 600mg how to buy cyproheptadine cost cyproheptadine
order prinivil sale brand prilosec 20mg metoprolol for sale
buy lyrica for sale buy cheap generic loratadine oral priligy 60mg
buy cozaar generic where to buy esomeprazole without a prescription topiramate brand
buy rosuvastatin 20mg cheap ezetimibe 10mg order motilium 10mg online cheap
buy imitrex 50mg for sale avodart 0.5mg us buy dutasteride without a prescription
sumycin 500mg brand buy generic baclofen online oral baclofen 10mg
toradol 10mg canada purchase colchicine online cheap buy inderal 10mg without prescription
buy cheap plavix how to buy nizoral order nizoral 200 mg online
cymbalta brand nootropil online piracetam ca
prometrium 100mg us buy tinidazole 500mg without prescription olanzapine price
purchase nebivolol for sale valsartan 80mg oral clozapine for sale online
does sertraline cause weight loss zoloft safe for pregnancy alternatives to zoloft
when does escitalopram start working for depression https://lexaproescitalopramtns.com/ lexapro generic names
cymbalta lethargy cymbalta rashes is duloxetine a narcotic
norvasc drug interactions buy norvasc amlodipine vs nifedipine
buy tegretol 200mg pill cheap lincomycin 500mg order lincomycin 500 mg online
omeprazole davis https://prilosecomeprazoleuxe.com/ omeprazole uso
cheap tadalafil 40mg discount cialis without prescription sildenafil 100mg cost
quetiapine rcvs buy quetiapine without rx switching between quetiapine and quetiepine xr depresison
klonopin and zoloft sertraline hc sertraline dizzy spells
duricef 500mg tablet cheap propecia 1mg finasteride 5mg for sale
what pain medication can i take with norvasc can taking norvasc and hydrochlorothiazide cause leg cramps norvasc and osteoarthritis
how long does it take for lexapro to take effect escitalopram (lexapro lexapro 10mg vs 20mg
omeprazole vs prilosec prilosec stomach cramps what is omeprazole dr
purchase estradiol generic lamictal price prazosin 1mg drug
is seroquel a sleeping pill https://seroquelquetiapinevuq.com/ medicines seroquel
what are side effects of zoloft sertraline for how does zoloft work
purchase mebendazole generic tadalis buy online tadalis generic
how many pills does it take to overdose on lexapro https://lexaproescitalopramikd.com/ lexapro no appetite
benadryl and duloxetine https://cymbaltaduloxetinestb.com/ is duloxetine
effectiveness of norvasc norvasc brand name amlodipine cough
omeprazole lawsuit https://prilosecomeprazolerls.com/ omeprazole 20mg ec cap
seroquel controlled substance quetiapine fumarate 50mg tab me me quetiapine fumarate classification
what is fluoxetine made of https://prozacfluoxetinerfk.com/ can you take tylenol with fluoxetine
purchase indocin sale order suprax 200mg online cheap order cefixime generic
highest dose of prozac https://prozacfluoxetinesyu.com/ fluoxetine 5 mg
escitalopram morning or evening lexapro picture goodrx lexapro
bupropion vs duloxetine duloxetine wellbutrin combination how to taper off duloxetine 30mg
walgreen prilosec https://prilosecomeprazolerls.com/ omeprazole acid reflux
bimatoprost drug how to get bimatoprost without a prescription desyrel without prescription
trimox 250mg oral arimidex 1mg pill buy generic biaxin 250mg
how long does it take seroquel to kick in seroquel effects quetiapine n 200
cheap clonidine 0.1mg purchase tiotropium bromide for sale buy tiotropium bromide online
sildenafil price suhagra 100mg cheap order sildalis online
order accutane 20mg pill azithromycin 500mg sale azithromycin 250mg cheap
prozac for anxiety and depression https://prozacfluoxetineatb.com/ prozac for fibromyalgia
buy azipro 250mg prednisolone 20mg usa order gabapentin 100mg online cheap
buy ivermectin canada cost stromectol 6mg order deltasone 20mg without prescription
buy furosemide for sale vibra-tabs us ventolin 4mg uk
vardenafil 10mg pills order generic plaquenil 200mg plaquenil online
altace oral buy altace no prescription generic arcoxia 60mg
asacol brand avapro online buy irbesartan 150mg pills
carvedilol 25mg drug buy aralen 250mg online cheap chloroquine price