PHP Date

<--?php echo date('l jS F Y'); ?-->
Wednesday 12th December 2018

<--?php echo date(get_option('date_format')); ?-->
December 12, 2018

<--?php echo date(get_option('date_format'), strtotime($post->post_date . ' +1 day')); ?-->
December 13, 2018

<--?php echo date(get_option('date_format'), strtotime($post->post_date . ' +90 day')); ?-->
March 12, 2019

<--?php echo date(get_option('date_format'), strtotime($post->post_date . ' -1 day')); ?-->
December 11, 2018

<--?php echo date(get_option('date_format'), strtotime($post->post_date . ' -90 day')); ?-->
September 13, 2018

Comments

comments

Comments are closed

  • [[[],[],"and"]]
    1 Step 1
    WANT TO LEARN MORE ASTRAL TRAVEL?
    Nameyour full name
    edit
    keyboard_arrow_leftPrevious
    Nextkeyboard_arrow_right
    FormCraft - WordPress form builder