ajduff14
196
9
Tips

How to format date in blade?

Posted 6 months ago by ajduff14

I'm working with the timestamp 1536300084, at the moment I'm simply printing it in a blade template using {{ $timestamp }} Is there a way to format this such as in twig? {{ post.published_at|date("m/d/Y") }}

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.