Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-08-2007, 05:55 AM
Cristian's Avatar
Administrator
 
Join Date: Feb 2007
Location: Sibiu, Romania
Posts: 99
Default Getting localized months names

Hello,

I am wondering which is the easiest possibility to get localized names of the months ?

Currently i am using my own table with months names (somehow in an array as: 0>January, 1->February, aso) but i wanna migrate this to ZF too...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-09-2007, 07:06 AM
Junior Member
 
Join Date: Jun 2007
Location: perth, australia
Posts: 10
Default

Hi Cristian,

I would check out these two pages from the manual, looks like its what you're after
Zend Framework: Documentation
Zend Framework: Documentation
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 09-18-2007, 01:50 AM
Dead_Thinker's Avatar
Junior Member
 
Join Date: May 2007
Location: Fortaleza/Ceará/Brazil
Posts: 20
Send a message via ICQ to Dead_Thinker Send a message via Yahoo to Dead_Thinker Send a message via Skype™ to Dead_Thinker
Default

I've made some success with this

Zend_Loader::loadClass('Zend_Date');
$oDate = new Zend_Date();
$strDate = utf8_decode($oDate->toString("EEEE, dd 'de' MMMM 'de' YYYY"));


Take a look inhttp://framework.zend.com/manual/en/zend.date.constants.html
and
Zend Framework: Documentation
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 12:35 PM.