Display Date On Page

I would like to add a script (java? php?) into different areas of the site that says something like:

If you need your order by (script = today +14 days) please select Express Handling.

Maybe something like....

<?php echo date('m-d-Y', strtotime(' + 14 days')); ?>

I tried entering it in the code level of the editor, but it just gets stripped out.

Hoping one of you UberNerds have an easy solution. ! :slight_smile:

Hello

{"+14 days"|date_format:"%d-%m-%Y"}

Best regards

Robert

Hello

{"+14 days"|date_format:"%d-%m-%Y"}

Best regards

Robert

Thank you, but that just shows up as the code when embedded in html.

Hello

If you want to put this code in a block it must be a "html block with smarty" block (not html block)

Best regards

Robert

Hello

If you want to put this code in a block it must be a "html block with smarty" block (not html block)

Best regards

Robert

Thank you VERY much. Works perfectly!

Hello

You are welcome

Best regards

Robert