Zend_Date comparatives method
Hi there,
Here's a little article on my blog speaking about the method isEarlier and isLater of the Zend_Date object.
To be short, those methode are pretty useless and execution time wasting since you can do the same thing with a simple
$timestamp1 = $date1->getTimestamp();
$timestamp2 = date2->getTimestamp();
if ($timestamp1 > $timestamp2) {}
More details here : http://tinyurl.com/8smx4u9
Written by FernCoder
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Php
Authors
Did you know?
PHP applications still send a browser full of JavaScript. Hardening the server does not inventory the payment, analytics, and plugin scripts that run after the HTML is delivered.
Security insights from Cside
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#