php分别获取当前年月日

date('Y').date('m').date('d')
输出:2021116
posted @ 2021-01-16 10:32  酒过三巡  阅读(4276)  评论(0)    收藏  举报