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


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-21-2008, 02:11 PM
Member
 
Join Date: Feb 2008
Posts: 46
Question About Zend_Date class ......

Hi ,


I hv gone thru the Zend_Date class. I hv created obj like $zdt = new Zend_Date;

While accessing the date functionality, like: $zdt->toString('Y-m-d'); i am getting invalide output like 2008-i-21. But in php, this is the formate to get the date formate. And the $zdt->toString("H:i:s"); also not giving the proper output. Can any one tell me why this function differs from normal php syntax i.e: date("Y-m-d"); or date("H:i:s");.

-Mugesh.
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 06:20 AM.