How to get the date of post in a separate day, month and year variables wordpress.??


GeneralPhpPHP Interview Questions

Sometimes our custom design requires Day, month and year in a seprate or wow looking format… For this we need the day for the post, month for the post, and Year for the post in a separate varible.

so that we can easily go with the html design.

Below as always at Developer Gang shows you the simple and easiest way to get the date in separate variables.

Simple and easy way. choose your variable, choose your style to display…!!