---
title: "Comment by Marcelo Zárate on \"Why and How to Make Traits in Laravel\" | Hashnode"
description: "So cool! Never thought of using a command to create traits. I&#39;m wondering how would you use DayTimeTrait ?"
url: "https://hashnode.com/posts/making-traits-in-laravel-with-custom-console-commands/60811942eb2bd30d2d22e91d/comment/61898d3d710d816e7a9cdda1"
---

[Discussion](https://hashnode.com/posts/making-traits-in-laravel-with-custom-console-commands/60811942eb2bd30d2d22e91d)

Comment [Why and How to Make Traits in Laravel](https://hashnode.com/posts/making-traits-in-laravel-with-custom-console-commands/60811942eb2bd30d2d22e91d)

[Marcelo Zárate](https://hashnode.com/@marcelozarate)

[Nov 8, 2021](https://hashnode.com/posts/making-traits-in-laravel-with-custom-console-commands/60811942eb2bd30d2d22e91d/comment/61898d3d710d816e7a9cdda1)

**So cool!** Never thought of using a command to create traits. I'm wondering how would you use `DayTimeTrait`?
