Get the Year/Month/Day from a datetime in php?

前端 未结 3 628
忘掉有多难
忘掉有多难 2021-01-31 06:57

I used date(\'w\', timestamp) and date(\'w\', timestamp) to know the day, date(\'n\', timestamp) for months, etc.

Now I\'m using d

3条回答
提交回复
热议问题