How can I calculate the age using todays date and date of birth in php

后端 未结 0 345
隐瞒了意图╮
隐瞒了意图╮ 2020-12-05 13:58

//Html code

// php code

$todaysDateSpecific = date("Y-m-d"); $dateOfBirth = $_POST[\'dateOfBirth\']; $customerAge = date_diff(date_create($todaysD

相关标签:
回答
  • 消灭零回复
提交回复
热议问题