concept time format in category php
appears as: time formats, time format

This is an excerpt from Manning's book PHP in Action: Objects, Design, Agility.
Date and time formats are another challenge when we try to separate the programmer’s job from the web designer’s. The choice of format is purely a presentation issue; there is no reason why it should depend on technical considerations. But, as with alternating colors, it has no native syntax in HTML and/or CSS. So ideally, we should provide the web designer with a way to specify the format inside the template. (There is an exception to this: if we know there is only one date format we ever want to use, we can just generate it in the PHP code.)