6 Responses

  1. Jay
    Jay 26/11/2010 at 3:29 | | Reply

    Thanks for this, why does this method work, but:
    echo Zend_Date::get(‘YYYY-MM-dd HH:mm:ss’);
    Does not?

  2. Osvaldo M
    Osvaldo M 27/12/2010 at 19:31 | | Reply

    neat post… thanks 4 sharing.
    @Jay, in case you were looking for something to use with just one line of code, try something like:
    $mydate = Zend_Date::now()->get(‘YYYY-MM-dd HH:mm:ss’);

  3. Felipe
    Felipe 14/05/2011 at 22:25 | | Reply

    The constants in the class was very useful for me. Thanks!

  4. Saji Nediyanchath
    Saji Nediyanchath 06/02/2012 at 4:16 | | Reply

    Thanks man..

  5. Jeroen
    Jeroen 16/05/2012 at 10:56 | | Reply

    Thank you for the clean explanation and code!

Leave a Reply