For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > January 2005 > date_format question









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author date_format question
Travis Low

2005-01-04, 4:00 pm

Hello again. I had suggested the possibility of adding an offset to the
date_format modifier. Messju suggested using setlocale(), which I agree with
in principle, but I'm having trouble finding the definitive way to use
setlocale() so that it works on the widest possible range of servers. (See
http://us2.php.net/setlocale)

Could I get a yes or no on whether the offset could be added to the date_format
modifier? Seems to me it wouldn't hurt you if you chose to use setlocale(),
but it would help you a lot if you didn't.

If it's "no", could I please get some help generating a good drop-down list for
input to setlocale()?

Thanks!

cheers,

Travis

--
Travis Low
<mailto:travis@dawnstar.com>
<http://www.dawnstar.com>
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com