PHP generate a random year number

后端 未结 0 761
天命终不由人
天命终不由人 2020-12-06 05:40

I need a php code that generates random year number (not month and day just year) which is between 1900 and 2021.

for example

min year : 1900
max  : 20         


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